using System.Collections.Generic; namespace DataModel.Models { /// /// Database table specification /// public class TableSpec { /// /// Table name /// public string Name { get; set; } /// /// Temporary table name /// public string TempTableName => $"#{Name}"; /// /// Table columns /// public List Columns { get; set; } /// /// Table columns that form the primary key /// public List PrimaryKey { get; set; } /// /// Constructor /// public TableSpec() { Columns = new List(); PrimaryKey = new List(); } public string GenerateIndex() { return ""; } public string GenerateDrop() { return ""; } public string GenerateCreate() { return ""; } public ColumnSpec GetColumn(string columnName) { return null; } } }