//
// 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;
namespace Microsoft.SqlTools.ServiceLayer.EditData
{
///
/// An interface used in edit scenarios that defines properties for what columns are primary
/// keys, and other metadata of the table.
///
public interface IEditTableMetadata
{
///
/// All columns in the table that's being edited
///
IReadOnlyList Columns { get; }
///
/// The escaped name of the table that's being edited
///
string EscapedMultipartName { get; }
///
/// Whether or not this table is a memory optimized table
///
bool IsMemoryOptimized { get; }
///
/// Columns that can be used to uniquely identify the a row
///
IReadOnlyList KeyColumns { get; }
}
}