// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.SqlTools.Hosting.Protocol.Contracts; using Microsoft.SqlTools.ServiceLayer.TaskServices; using Microsoft.SqlTools.ServiceLayer.Utility; namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts { /// /// Parameters for a schema compare publish database changes request. /// public class SchemaComparePublishDatabaseChangesParams { /// /// Operation id of the schema compare operation /// public string OperationId { get; set; } /// /// Name of target server /// public string TargetServerName { get; set; } /// /// Name of target database /// public string TargetDatabaseName { get; set; } /// /// Execution mode for the operation. Default is execution /// public TaskExecutionMode TaskExecutionMode { get; set; } } /// /// Defines the Schema Compare publish database changes request type /// class SchemaComparePublishDatabaseChangesRequest { public static readonly RequestType Type = RequestType.Create("schemaCompare/publishDatabase"); } }