mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-23 17:24:12 -05:00
A few table designer improvements (#1456)
* add AdvancedType related contract & lib call * use type list from col * add description support to all view models * remove desc for edge constraint * bump DacFx to 160.6093.0-preview * nit
This commit is contained in:
@@ -23,6 +23,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public const string IsMemoryOptimized = "isMemoryOptimized";
|
||||
public const string Durability = "durability";
|
||||
public const string PrimaryKeyName = "primaryKeyName";
|
||||
public const string PrimaryKeyDescription = "primaryKeyDescription";
|
||||
public const string PrimaryKeyIsClustered = "primaryKeyIsClustered";
|
||||
public const string PrimaryKeyColumns = "primaryKeyColumns";
|
||||
}
|
||||
@@ -30,6 +31,8 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public static class TableColumnPropertyNames
|
||||
{
|
||||
public const string Name = "name";
|
||||
public const string Description = "description";
|
||||
public const string AdvancedType = "advancedType";
|
||||
public const string Type = "type";
|
||||
public const string DefaultValue = "defaultValue";
|
||||
public const string Length = "length";
|
||||
@@ -49,6 +52,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public static class ForeignKeyPropertyNames
|
||||
{
|
||||
public const string Name = "name";
|
||||
public const string Description = "description";
|
||||
public const string Enabled = "enabled";
|
||||
public const string OnDeleteAction = "onDeleteAction";
|
||||
public const string OnUpdateAction = "onUpdateAction";
|
||||
@@ -60,6 +64,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public static class CheckConstraintPropertyNames
|
||||
{
|
||||
public const string Name = "name";
|
||||
public const string Description = "description";
|
||||
public const string Enabled = "enabled";
|
||||
public const string Expression = "expression";
|
||||
}
|
||||
@@ -73,6 +78,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public static class IndexPropertyNames
|
||||
{
|
||||
public const string Name = "name";
|
||||
public const string Description = "description";
|
||||
public const string Enabled = "enabled";
|
||||
public const string IsUnique = "isUnique";
|
||||
public const string IsClustered = "isClustered";
|
||||
|
||||
Reference in New Issue
Block a user