mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-03 17:24:53 -05:00
table designer - support indexes and write operations (#1363)
* support indexes * column properties
This commit is contained in:
@@ -12,6 +12,8 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public const string Description = "description";
|
||||
public const string Columns = "columns";
|
||||
public const string ForeignKeys = "foreignKeys";
|
||||
public const string CheckConstraints = "checkConstraints";
|
||||
public const string Indexes = "indexes";
|
||||
}
|
||||
|
||||
public static class TableColumnPropertyNames
|
||||
@@ -52,4 +54,20 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
||||
public const string PrimaryKeyColumn = "primaryKeyColumn";
|
||||
public const string ForeignKeyColumn = "foreignKeyColumn";
|
||||
}
|
||||
|
||||
public static class IndexPropertyNames
|
||||
{
|
||||
public const string Name = "name";
|
||||
public const string Enabled = "enabled";
|
||||
public const string IsUnique = "isUnique";
|
||||
public const string IsClustered = "isClustered";
|
||||
public const string Columns = "columns";
|
||||
public const string ColumnsDisplayValue = "columnsDisplayValue";
|
||||
}
|
||||
|
||||
public static class IndexColumnSpecificationPropertyNames
|
||||
{
|
||||
public const string Column = "column";
|
||||
public const string Ascending = "ascending";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user