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

            TableCommands.Add(command);
        }
Esempio 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));
 }