// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts { /// /// Parameters for a DacFx generate deploy script request. /// public class GenerateDeployScriptParams : DacFxParams { /// /// Gets or sets whether a Deployment Report should be generated during deploy. /// public bool GenerateDeploymentReport { get; set; } /// /// Gets or sets the filepath where to save the deployment report /// public string DeploymentReportFilePath { get; set; } /// /// Gets or sets SQLCMD variables for script generation /// public IDictionary SqlCommandVariableValues { get; set; } } /// /// Defines the DacFx generate deploy script request type /// class GenerateDeployScriptRequest { public static readonly RequestType Type = RequestType.Create("dacfx/generateDeploymentScript"); } }