table designer - support indexes and write operations (#1363)

* support indexes

* column properties
This commit is contained in:
Alan Ren
2022-01-18 17:15:22 -08:00
committed by GitHub
parent 01ab08fd6d
commit 1cdb2b94ac
9 changed files with 646 additions and 80 deletions

View File

@@ -8581,6 +8581,70 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string IndexIsEnabledPropertyDescription
{
get
{
return Keys.GetString(Keys.IndexIsEnabledPropertyDescription);
}
}
public static string IndexIsClusteredPropertyDescription
{
get
{
return Keys.GetString(Keys.IndexIsClusteredPropertyDescription);
}
}
public static string TableDesignerIndexIsClusteredPropertyTitle
{
get
{
return Keys.GetString(Keys.TableDesignerIndexIsClusteredPropertyTitle);
}
}
public static string IndexIsUniquePropertyDescription
{
get
{
return Keys.GetString(Keys.IndexIsUniquePropertyDescription);
}
}
public static string TableDesignerIsUniquePropertyTitle
{
get
{
return Keys.GetString(Keys.TableDesignerIsUniquePropertyTitle);
}
}
public static string IndexColumnIsAscendingPropertyDescription
{
get
{
return Keys.GetString(Keys.IndexColumnIsAscendingPropertyDescription);
}
}
public static string IndexColumnIsAscendingPropertyTitle
{
get
{
return Keys.GetString(Keys.IndexColumnIsAscendingPropertyTitle);
}
}
public static string TableDesignerColumnsDisplayValueTitle
{
get
{
return Keys.GetString(Keys.TableDesignerColumnsDisplayValueTitle);
}
}
public static string ConnectionServiceListDbErrorNotConnected(string uri)
{
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
@@ -12268,6 +12332,30 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string CheckConstraintIsEnabledDescription = "CheckConstraintIsEnabledDescription";
public const string IndexIsEnabledPropertyDescription = "IndexIsEnabledPropertyDescription";
public const string IndexIsClusteredPropertyDescription = "IndexIsClusteredPropertyDescription";
public const string TableDesignerIndexIsClusteredPropertyTitle = "TableDesignerIndexIsClusteredPropertyTitle";
public const string IndexIsUniquePropertyDescription = "IndexIsUniquePropertyDescription";
public const string TableDesignerIsUniquePropertyTitle = "TableDesignerIsUniquePropertyTitle";
public const string IndexColumnIsAscendingPropertyDescription = "IndexColumnIsAscendingPropertyDescription";
public const string IndexColumnIsAscendingPropertyTitle = "IndexColumnIsAscendingPropertyTitle";
public const string TableDesignerColumnsDisplayValueTitle = "TableDesignerColumnsDisplayValueTitle";
private Keys()
{ }

View File

@@ -4689,4 +4689,36 @@
<value>Specifies whether the check constraint is Enabled</value>
<comment></comment>
</data>
<data name="IndexIsEnabledPropertyDescription" xml:space="preserve">
<value>Specifies whether the index is enabled</value>
<comment></comment>
</data>
<data name="IndexIsClusteredPropertyDescription" xml:space="preserve">
<value>Whether the index is clustered, only one clustered index is allowed in a table.</value>
<comment></comment>
</data>
<data name="TableDesignerIndexIsClusteredPropertyTitle" xml:space="preserve">
<value>Is Clustered</value>
<comment></comment>
</data>
<data name="IndexIsUniquePropertyDescription" xml:space="preserve">
<value>Whether the data entered into this index must be unique.</value>
<comment></comment>
</data>
<data name="TableDesignerIsUniquePropertyTitle" xml:space="preserve">
<value>Is Unique</value>
<comment></comment>
</data>
<data name="IndexColumnIsAscendingPropertyDescription" xml:space="preserve">
<value>Specifies the sort order of the column.</value>
<comment></comment>
</data>
<data name="IndexColumnIsAscendingPropertyTitle" xml:space="preserve">
<value>Is Ascending</value>
<comment></comment>
</data>
<data name="TableDesignerColumnsDisplayValueTitle" xml:space="preserve">
<value>Columns</value>
<comment></comment>
</data>
</root>

View File

@@ -2243,3 +2243,11 @@ SqlForeignKeyAction_SetNull = Set Null
SqlForeignKeyAction_SetDefault = Set Default
UnKnownSqlForeignKeyAction(string name) = '{0}' is not a supported SqlForeignKeyAction.
CheckConstraintIsEnabledDescription = Specifies whether the check constraint is Enabled
IndexIsEnabledPropertyDescription = Specifies whether the index is enabled
IndexIsClusteredPropertyDescription = Whether the index is clustered, only one clustered index is allowed in a table.
TableDesignerIndexIsClusteredPropertyTitle = Is Clustered
IndexIsUniquePropertyDescription = Whether the data entered into this index must be unique.
TableDesignerIsUniquePropertyTitle = Is Unique
IndexColumnIsAscendingPropertyDescription = Specifies the sort order of the column.
IndexColumnIsAscendingPropertyTitle = Is Ascending
TableDesignerColumnsDisplayValueTitle = Columns

View File

@@ -5702,6 +5702,46 @@
<note>.
Parameters: 0 - underlyingType (string), 1 - columnName (string) </note>
</trans-unit>
<trans-unit id="IndexIsEnabledPropertyDescription">
<source>Specifies whether the index is enabled</source>
<target state="new">Specifies whether the index is enabled</target>
<note></note>
</trans-unit>
<trans-unit id="IndexIsClusteredPropertyDescription">
<source>Whether the index is clustered, only one clustered index is allowed in a table.</source>
<target state="new">Whether the index is clustered, only one clustered index is allowed in a table.</target>
<note></note>
</trans-unit>
<trans-unit id="TableDesignerIndexIsClusteredPropertyTitle">
<source>Is Clustered</source>
<target state="new">Is Clustered</target>
<note></note>
</trans-unit>
<trans-unit id="IndexIsUniquePropertyDescription">
<source>Whether the data entered into this index must be unique.</source>
<target state="new">Whether the data entered into this index must be unique.</target>
<note></note>
</trans-unit>
<trans-unit id="TableDesignerIsUniquePropertyTitle">
<source>Is Unique</source>
<target state="new">Is Unique</target>
<note></note>
</trans-unit>
<trans-unit id="IndexColumnIsAscendingPropertyDescription">
<source>Specifies the sort order of the column.</source>
<target state="new">Specifies the sort order of the column.</target>
<note></note>
</trans-unit>
<trans-unit id="IndexColumnIsAscendingPropertyTitle">
<source>Is Ascending</source>
<target state="new">Is Ascending</target>
<note></note>
</trans-unit>
<trans-unit id="TableDesignerColumnsDisplayValueTitle">
<source>Columns</source>
<target state="new">Columns</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>