mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-23 01:25:42 -05:00
Schema compare include/exclude changes (#881)
* send back success of include/exclude request * update dacfx nuget package and use new api to get affected dependencies of include/exclude request * addressing comments * rename test * Addressing comments
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.TaskServices;
|
||||
using Microsoft.SqlTools.ServiceLayer.Utility;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts
|
||||
{
|
||||
@@ -40,4 +41,12 @@ namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts
|
||||
public static readonly RequestType<SchemaCompareNodeParams, ResultStatus> Type =
|
||||
RequestType<SchemaCompareNodeParams, ResultStatus>.Create("schemaCompare/includeExcludeNode");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Parameters returned from a schema compare include/exclude request.
|
||||
/// </summary>
|
||||
public class SchemaCompareIncludeExcludeResult : ResultStatus
|
||||
{
|
||||
public List<DiffEntry> ChangedDifferences { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,6 +101,7 @@ namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts
|
||||
public string TargetScript { get; set; }
|
||||
public string SourceObjectType { get; set; }
|
||||
public string TargetObjectType { get; set; }
|
||||
public bool Included { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user