// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Data.Common; namespace Microsoft.SqlTools.ServiceLayer.EditData { /// /// Interface for a factory that generates metadata for an object to edit /// public interface IEditMetadataFactory { /// /// Generates a edit-ready metadata object /// /// Connection to use for getting metadata /// Name of the object to return metadata for /// Type of the object to return metadata for /// Metadata about the object requested EditTableMetadata GetObjectMetadata(DbConnection connection, string objectName, string objectType); } }