// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #nullable disable using System.Collections.Generic; using Microsoft.SqlTools.Hosting.Protocol.Contracts; using Microsoft.SqlTools.ServiceLayer.Utility; namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts { /// /// Parameters for a DacFx save publish profile request. /// public class SavePublishProfileParams { /// /// Gets or sets the profile path /// public string ProfilePath { get; set; } /// /// Gets or sets name for database /// public string DatabaseName { get; set; } /// /// Gets or sets target connection string /// public string ConnectionString { get; set; } /// /// Gets or sets SQLCMD variables for deployment /// public IDictionary SqlCommandVariableValues { get; set; } /// /// Gets or sets the options for deployment /// public DeploymentOptions DeploymentOptions { get; set; } } /// /// Defines the DacFx save publish profile request type /// class SavePublishProfileRequest { public static readonly RequestType Type = RequestType.Create("dacfx/savePublishProfile"); } }