Schema compare cancel operation (#826)

* First cut of schema compare cancel (private nuget)

* Update Dacfx nuget to a published version
This commit is contained in:
udeeshagautam
2019-06-14 18:19:36 -07:00
committed by GitHub
parent 432e054d55
commit 3e1f186891
13 changed files with 168 additions and 13 deletions

View File

@@ -0,0 +1,30 @@
//
// 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.Utility;
namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts
{
/// <summary>
/// Parameters for a schema compare cancel request
/// </summary>
public class SchemaCompareCancelParams
{
/// <summary>
/// Operation id of the schema compare operation
/// </summary>
public string OperationId { get; set; }
}
/// <summary>
/// Defines the Schema Compare cancel comparison request type
/// </summary>
class SchemaCompareCancellationRequest
{
public static readonly RequestType<SchemaCompareCancelParams, ResultStatus> Type =
RequestType<SchemaCompareCancelParams, ResultStatus>.Create("schemaCompare/cancel");
}
}