Inheritance: SchemaCommand
示例#1
0
        public virtual IEnumerable<string> Run(DropTableCommand command)
        {
            var builder = new StringBuilder();

            builder.Append(_dialect.GetDropTableString(command.Name));
            yield return builder.ToString();
        }
示例#2
0
 public SchemaBuilder DropTable(string name)
 {
     var deleteTable = new DropTableCommand(FormatTable(name));
     Execute(_builder.CreateSql(deleteTable));
     return this;
 }