using System.Text; namespace Connected.Data.Schema.Sql { internal class TableDrop : TableTransaction { protected override async Task OnExecute() { await Context.Execute(CommandText); } private string CommandText { get { var text = new StringBuilder(); text.AppendLine($"DROP TABLE {Escape(Context.Schema.SchemaName(), Context.Schema.Name)}"); return text.ToString(); } } } }