// // 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.EditData.Contracts { /// /// Parameters of the edit session initialize request /// public class EditInitializeParams : SessionOperationParams { /// /// Filtering parameters /// public EditInitializeFiltering Filters { get; set; } /// /// The object to use for generating an edit script /// public string ObjectName { get; set; } /// /// The type of the object to use for generating an edit script /// public string ObjectType { get; set; } } /// /// Object to return upon successful completion of an edit session initialize request /// /// /// Empty for now, since there isn't anything special to return on success /// public class EditInitializeResult { } public class EditInitializeRequest { public static readonly RequestType Type = RequestType.Create("edit/initialize"); } }