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:
Kim Santiago
2021-08-04 13:02:52 -07:00
committed by GitHub
parent a7703e63a4
commit b1653b25e4
15 changed files with 682 additions and 1 deletions

View File

@@ -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()
{ }