mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-05 01:25:45 -05:00
Insert sql bindings into Azure Functions (#1224)
* getting table name from a script * add InsertSqlInputBindingOperation * cleanup * move azure functions stuff out of dacfx service * cleanup * add tests * add another test * cleanup * add comments and connection string setting * addressing comments * change name to use add instead of insert
This commit is contained in:
@@ -3278,6 +3278,16 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.SqlAssessmentUnsuppoertedEdition, editionCode);
|
||||
}
|
||||
|
||||
public static string CouldntFindAzureFunction(string functionName, string fileName)
|
||||
{
|
||||
return Keys.GetString(Keys.CouldntFindAzureFunction, functionName, fileName);
|
||||
}
|
||||
|
||||
public static string MoreThanOneAzureFunctionWithName(string functionName, string fileName)
|
||||
{
|
||||
return Keys.GetString(Keys.MoreThanOneAzureFunctionWithName, functionName, fileName);
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Keys
|
||||
{
|
||||
@@ -4555,6 +4565,12 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string SqlAssessmentUnsuppoertedEdition = "SqlAssessmentUnsuppoertedEdition";
|
||||
|
||||
|
||||
public const string CouldntFindAzureFunction = "CouldntFindAzureFunction";
|
||||
|
||||
|
||||
public const string MoreThanOneAzureFunctionWithName = "MoreThanOneAzureFunctionWithName";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -1854,4 +1854,14 @@
|
||||
<comment>.
|
||||
Parameters: 0 - editionCode (int) </comment>
|
||||
</data>
|
||||
<data name="CouldntFindAzureFunction" xml:space="preserve">
|
||||
<value>Couldn't find Azure function with FunctionName {0} in {1}</value>
|
||||
<comment>.
|
||||
Parameters: 0 - functionName (string), 1 - fileName (string) </comment>
|
||||
</data>
|
||||
<data name="MoreThanOneAzureFunctionWithName" xml:space="preserve">
|
||||
<value>More than one Azure function found with the FunctionName {0} in {1}</value>
|
||||
<comment>.
|
||||
Parameters: 0 - functionName (string), 1 - fileName (string) </comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -848,4 +848,9 @@ SchemaCompareSessionNotFound = Could not find the schema compare session to canc
|
||||
SqlAssessmentGenerateScriptTaskName = Generate SQL Assessment script
|
||||
SqlAssessmentQueryInvalidOwnerUri = Not connected to a server
|
||||
SqlAssessmentConnectingError = Cannot connect to the server
|
||||
SqlAssessmentUnsuppoertedEdition(int editionCode) = Unsupported engine edition {0}
|
||||
SqlAssessmentUnsuppoertedEdition(int editionCode) = Unsupported engine edition {0}
|
||||
|
||||
############################################################################
|
||||
# Azure Functions
|
||||
CouldntFindAzureFunction(string functionName, string fileName) = Couldn't find Azure function with FunctionName '{0}' in {1}
|
||||
MoreThanOneAzureFunctionWithName(string functionName, string fileName) = More than one Azure function found with the FunctionName '{0}' in {1}
|
||||
@@ -2161,6 +2161,16 @@
|
||||
<target state="new">No External Streaming Job creation TSQL found (EXEC sp_create_streaming_job statement).</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CouldntFindAzureFunction">
|
||||
<source>Couldn't find Azure function with FunctionName {0} in {1}</source>
|
||||
<target state="new">Couldn't find Azure function with FunctionName {0} in {1}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="MoreThanOneAzureFunctionWithName">
|
||||
<source>More than one Azure function found with the FunctionName {0} in {1}</source>
|
||||
<target state="new">More than one Azure function found with the FunctionName {0} in {1}</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user