mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-13 19:48:34 -05:00
34 lines
874 B
C#
34 lines
874 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
using System.Runtime.Serialization;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public enum DesignerEditType
|
|
{
|
|
[EnumMember(Value = "Add")]
|
|
Add,
|
|
[EnumMember(Value = "Remove")]
|
|
Remove,
|
|
[EnumMember(Value = "Update")]
|
|
Update,
|
|
}
|
|
|
|
/// <summary>
|
|
/// The information about a change made inside the table designer.
|
|
/// </summary>
|
|
public class TableDesignerChangeInfo
|
|
{
|
|
public DesignerEditType Type { get; set; }
|
|
|
|
public object[] Path { get; set; }
|
|
|
|
public object Value { get; set; }
|
|
}
|
|
} |