Inheritance: TableCommand
Exemplo n.º 1
0
        public void DropIndex(string indexName)
        {
            var command = new DropIndexCommand(Name, indexName);

            TableCommands.Add(command);
        }
Exemplo n.º 2
0
 public virtual void Run(StringBuilder builder, DropIndexCommand command)
 {
     builder.AppendFormat("drop index {0} ON {1}",
         _dialect.QuoteForColumnName(command.IndexName),
         _dialect.QuoteForTableName(command.TableName));
 }