mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
//
|
|
// 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.Utility;
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts
|
|
{
|
|
public class ProcessTableDesignerEditRequestParams : GeneralRequestDetails
|
|
{
|
|
public TableInfo TableInfo { get; set; }
|
|
|
|
public TableDesignerChangeInfo TableChangeInfo { get; set; }
|
|
}
|
|
|
|
public class ProcessTableDesignerEditResponse
|
|
{
|
|
public TableViewModel ViewModel { get; set; }
|
|
|
|
public TableDesignerView View { get; set; }
|
|
|
|
public bool IsValid { get; set; }
|
|
|
|
public TableDesignerIssue[] Issues { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// The service request to process the changes made in the table designer.
|
|
/// </summary>
|
|
public class ProcessTableDesignerEditRequest
|
|
{
|
|
/// <summary>
|
|
/// Request definition
|
|
/// </summary>
|
|
public static readonly RequestType<ProcessTableDesignerEditRequestParams, ProcessTableDesignerEditResponse> Type = RequestType<ProcessTableDesignerEditRequestParams, ProcessTableDesignerEditResponse>.Create("tabledesigner/processedit");
|
|
}
|
|
}
|