mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-30 01:25:45 -05:00
Feature/script execute (#563)
* added script as execute for stored procedures
This commit is contained in:
@@ -2397,6 +2397,30 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string StoredProcedureScriptParameterComment
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.StoredProcedureScriptParameterComment);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ScriptingGeneralError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.ScriptingGeneralError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ScriptingExecuteNotSupportedError
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.ScriptingExecuteNotSupportedError);
|
||||
}
|
||||
}
|
||||
|
||||
public static string unavailable
|
||||
{
|
||||
get
|
||||
@@ -4597,6 +4621,15 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid = "ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid";
|
||||
|
||||
|
||||
public const string StoredProcedureScriptParameterComment = "StoredProcedureScriptParameterComment";
|
||||
|
||||
|
||||
public const string ScriptingGeneralError = "ScriptingGeneralError";
|
||||
|
||||
|
||||
public const string ScriptingExecuteNotSupportedError = "ScriptingExecuteNotSupportedError";
|
||||
|
||||
|
||||
public const string unavailable = "unavailable";
|
||||
|
||||
|
||||
|
||||
@@ -1381,6 +1381,18 @@
|
||||
<value>Error parsing ScriptingListObjectsCompleteParams.ConnectionString property.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="StoredProcedureScriptParameterComment" xml:space="preserve">
|
||||
<value>-- TODO: Set parameter values here.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ScriptingGeneralError" xml:space="preserve">
|
||||
<value>An error occurred while scripting the objects.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ScriptingExecuteNotSupportedError" xml:space="preserve">
|
||||
<value>Scripting as Execute is only supported for Stored Procedures</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="unavailable" xml:space="preserve">
|
||||
<value>Unavailable</value>
|
||||
<comment></comment>
|
||||
|
||||
@@ -691,7 +691,10 @@ ScriptingParams_FilePath_Property_Invalid = Invalid directory specified by the S
|
||||
ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid = Error parsing ScriptingListObjectsCompleteParams.ConnectionString property.
|
||||
|
||||
|
||||
StoredProcedureScriptParameterComment = -- TODO: Set parameter values here.
|
||||
|
||||
ScriptingGeneralError = An error occurred while scripting the objects.
|
||||
ScriptingExecuteNotSupportedError = Scripting as Execute is only supported for Stored Procedures
|
||||
|
||||
############################################################################
|
||||
# Admin Service
|
||||
|
||||
@@ -2312,6 +2312,21 @@
|
||||
<note>.
|
||||
Parameters: 0 - value (string), 1 - columnType (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="StoredProcedureScriptParameterComment">
|
||||
<source>-- TODO: Set parameter values here.</source>
|
||||
<target state="new">-- TODO: Set parameter values here.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ScriptingGeneralError">
|
||||
<source>An error occurred while scripting the objects.</source>
|
||||
<target state="new">An error occurred while scripting the objects</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ScriptingExecuteNotSupportedError">
|
||||
<source>Scripting as Execute is only supported for Stored Procedures</source>
|
||||
<target state="new">Scripting as Execute is only supported for Stored Procedures</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user