mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-31 09:35:39 -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:
@@ -10,6 +10,7 @@ using Microsoft.SqlTools.Hosting;
|
||||
using Microsoft.SqlTools.Hosting.Protocol;
|
||||
using Microsoft.SqlTools.ServiceLayer.Admin;
|
||||
using Microsoft.SqlTools.ServiceLayer.Agent;
|
||||
using Microsoft.SqlTools.ServiceLayer.AzureFunctions;
|
||||
using Microsoft.SqlTools.ServiceLayer.Cms;
|
||||
using Microsoft.SqlTools.ServiceLayer.Connection;
|
||||
using Microsoft.SqlTools.ServiceLayer.DacFx;
|
||||
@@ -133,6 +134,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
SchemaCompare.SchemaCompareService.Instance.InitializeService(serviceHost);
|
||||
serviceProvider.RegisterSingleService(SchemaCompareService.Instance);
|
||||
|
||||
AzureFunctions.AzureFunctionsService.Instance.InitializeService(serviceHost);
|
||||
serviceProvider.RegisterSingleService(AzureFunctionsService.Instance);
|
||||
|
||||
ServerConfigService.Instance.InitializeService(serviceHost);
|
||||
serviceProvider.RegisterSingleService(ServerConfigService.Instance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user