mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-05 01:25:45 -05:00
use path to identify edit target (#1292)
* use path to identify edit target * async action * revert RequestContext change * comments * address comments * fix test
This commit is contained in:
@@ -8445,6 +8445,70 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableEditPathNotProvidedException
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableEditPathNotProvidedException);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIdentityGroupName
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIdentityGroupName);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIsIdentityPropertyTitle
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIsIdentityPropertyTitle);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIsIdentityPropertyDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIsIdentityPropertyDescription);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIdentityIncrementPropertyTitle
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIdentityIncrementPropertyTitle);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIdentityIncrementPropertyDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIdentityIncrementPropertyDescription);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIdentitySeedPropertyTitle
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIdentitySeedPropertyTitle);
|
||||
}
|
||||
}
|
||||
|
||||
public static string TableColumnIdentitySeedPropertyDescription
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.TableColumnIdentitySeedPropertyDescription);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -8710,6 +8774,16 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.NameValuePair, name, value);
|
||||
}
|
||||
|
||||
public static string TableNotInitializedException(string tableId)
|
||||
{
|
||||
return Keys.GetString(Keys.TableNotInitializedException, tableId);
|
||||
}
|
||||
|
||||
public static string InvalidTableEditPathException(string path, string editType)
|
||||
{
|
||||
return Keys.GetString(Keys.InvalidTableEditPathException, path, editType);
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Keys
|
||||
{
|
||||
@@ -12033,6 +12107,36 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string SizeInTeraBytesFormat = "SizeInTeraBytesFormat";
|
||||
|
||||
|
||||
public const string TableNotInitializedException = "TableNotInitializedException";
|
||||
|
||||
|
||||
public const string TableEditPathNotProvidedException = "TableEditPathNotProvidedException";
|
||||
|
||||
|
||||
public const string InvalidTableEditPathException = "InvalidTableEditPathException";
|
||||
|
||||
|
||||
public const string TableColumnIdentityGroupName = "TableColumnIdentityGroupName";
|
||||
|
||||
|
||||
public const string TableColumnIsIdentityPropertyTitle = "TableColumnIsIdentityPropertyTitle";
|
||||
|
||||
|
||||
public const string TableColumnIsIdentityPropertyDescription = "TableColumnIsIdentityPropertyDescription";
|
||||
|
||||
|
||||
public const string TableColumnIdentityIncrementPropertyTitle = "TableColumnIdentityIncrementPropertyTitle";
|
||||
|
||||
|
||||
public const string TableColumnIdentityIncrementPropertyDescription = "TableColumnIdentityIncrementPropertyDescription";
|
||||
|
||||
|
||||
public const string TableColumnIdentitySeedPropertyTitle = "TableColumnIdentitySeedPropertyTitle";
|
||||
|
||||
|
||||
public const string TableColumnIdentitySeedPropertyDescription = "TableColumnIdentitySeedPropertyDescription";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -4590,4 +4590,46 @@
|
||||
<value>{0} TB</value>
|
||||
<comment>Size in TeraBytes format</comment>
|
||||
</data>
|
||||
<data name="TableNotInitializedException" xml:space="preserve">
|
||||
<value>Initialization is not properly done for table with id '{0}'</value>
|
||||
<comment>.
|
||||
Parameters: 0 - tableId (string) </comment>
|
||||
</data>
|
||||
<data name="TableEditPathNotProvidedException" xml:space="preserve">
|
||||
<value>The path in the table change information cannot be empty</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="InvalidTableEditPathException" xml:space="preserve">
|
||||
<value>The path '{0}' in the table change information is not valid for edit type: '{1}'</value>
|
||||
<comment>.
|
||||
Parameters: 0 - path (string), 1 - editType (string) </comment>
|
||||
</data>
|
||||
<data name="TableColumnIdentityGroupName" xml:space="preserve">
|
||||
<value>Identity Specification</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TableColumnIsIdentityPropertyTitle" xml:space="preserve">
|
||||
<value>Is Identity</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TableColumnIsIdentityPropertyDescription" xml:space="preserve">
|
||||
<value>Specifies whether the column is the identity column for the table.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TableColumnIdentityIncrementPropertyTitle" xml:space="preserve">
|
||||
<value>Identity Increment</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TableColumnIdentityIncrementPropertyDescription" xml:space="preserve">
|
||||
<value>Displays the value added to the maximum existing row identity value when generating the next identity value.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TableColumnIdentitySeedPropertyTitle" xml:space="preserve">
|
||||
<value>Identity Seed</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="TableColumnIdentitySeedPropertyDescription" xml:space="preserve">
|
||||
<value>Displays the initial row value for an identity column.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -2212,4 +2212,18 @@ SizeInMegaBytesFormat = {0} MB
|
||||
;Size in GigaBytes format
|
||||
SizeInGigaBytesFormat = {0} GB
|
||||
;Size in TeraBytes format
|
||||
SizeInTeraBytesFormat = {0} TB
|
||||
SizeInTeraBytesFormat = {0} TB
|
||||
|
||||
############################################################################
|
||||
# Table Designer
|
||||
|
||||
TableNotInitializedException(string tableId) = Initialization is not properly done for table with id '{0}'
|
||||
TableEditPathNotProvidedException = The path in the table change information cannot be empty
|
||||
InvalidTableEditPathException(string path, string editType) = The path '{0}' in the table change information is not valid for edit type: '{1}'
|
||||
TableColumnIdentityGroupName = Identity Specification
|
||||
TableColumnIsIdentityPropertyTitle = Is Identity
|
||||
TableColumnIsIdentityPropertyDescription = Specifies whether the column is the identity column for the table.
|
||||
TableColumnIdentityIncrementPropertyTitle = Identity Increment
|
||||
TableColumnIdentityIncrementPropertyDescription = Displays the value added to the maximum existing row identity value when generating the next identity value.
|
||||
TableColumnIdentitySeedPropertyTitle = Identity Seed
|
||||
TableColumnIdentitySeedPropertyDescription = Displays the initial row value for an identity column.
|
||||
|
||||
@@ -5579,6 +5579,58 @@
|
||||
<target state="new">{0} TB</target>
|
||||
<note>Size in TeraBytes format</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableNotInitializedException">
|
||||
<source>Initialization is not properly done for table with id '{0}'</source>
|
||||
<target state="new">Initialization is not properly done for table with id '{0}'</target>
|
||||
<note>.
|
||||
Parameters: 0 - tableId (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIdentityGroupName">
|
||||
<source>Identity Specification</source>
|
||||
<target state="new">Identity Specification</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIsIdentityPropertyTitle">
|
||||
<source>Is Identity</source>
|
||||
<target state="new">Is Identity</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIsIdentityPropertyDescription">
|
||||
<source>Specifies whether the column is the identity column for the table.</source>
|
||||
<target state="new">Specifies whether the column is the identity column for the table.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIdentityIncrementPropertyTitle">
|
||||
<source>Identity Increment</source>
|
||||
<target state="new">Identity Increment</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIdentityIncrementPropertyDescription">
|
||||
<source>Displays the value added to the maximum existing row identity value when generating the next identity value.</source>
|
||||
<target state="new">Displays the value added to the maximum existing row identity value when generating the next identity value.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIdentitySeedPropertyTitle">
|
||||
<source>Identity Seed</source>
|
||||
<target state="new">Identity Seed</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableColumnIdentitySeedPropertyDescription">
|
||||
<source>Displays the initial row value for an identity column.</source>
|
||||
<target state="new">Displays the initial row value for an identity column.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="TableEditPathNotProvidedException">
|
||||
<source>The path in the table change information cannot be empty</source>
|
||||
<target state="new">The path in the table change information cannot be empty</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidTableEditPathException">
|
||||
<source>The path '{0}' in the table change information is not valid for edit type: '{1}'</source>
|
||||
<target state="new">The path '{0}' in the table change information is not valid for edit type: '{1}'</target>
|
||||
<note>.
|
||||
Parameters: 0 - path (string), 1 - editType (string) </note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user