// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts { /// /// The service request to generate preview report describing the changes. /// public class GeneratePreviewReportResult { /// /// The report generated for publish preview /// public string Report; /// /// format (mimetype) of the string /// public string MimeType; /// /// Metadata about the table /// public Dictionary Metadata { get; set; } /// /// The table schema validation error /// public string SchemaValidationError { get; set; } } /// /// The service request to generate preview report describing the changes. /// public class GeneratePreviewReportRequest { /// /// Request definition /// public static readonly RequestType Type = RequestType.Create("tabledesigner/generatepreviewreport"); } }