handle dispose table designer request (#1273)

* handle dispose table designer

* use connection string
This commit is contained in:
Alan Ren
2021-10-19 13:04:01 -07:00
committed by GitHub
parent 192f7fccd4
commit 1a52a9ee84
3 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
//
// 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;
namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts
{
public class DisposeTableDesignerResponse
{
}
/// <summary>
/// The request to dispose the table designer.
/// </summary>
public class DisposeTableDesignerRequest
{
/// <summary>
/// Request definition
/// </summary>
public static readonly RequestType<TableInfo, DisposeTableDesignerResponse> Type = RequestType<TableInfo, DisposeTableDesignerResponse>.Create("tabledesigner/dispose");
}
}

View File

@@ -20,6 +20,8 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts
public bool IsNewTable { get; set; }
public string ConnectionUri { get; set; }
public string ConnectionString { get; set; }
public string Id { get; set; }
}
}