DropIndex is used to drop an existing index of a table in a database.
This method may needs some privilege according to the database product and its version.
Examples
Following section demonstrates DROP-INDEX of the table(s).
{{hl}}var ddl = connection.DDL();{{/hl}}
// by table alias
var t0 = new Orders().AsQueryable();
ddl.{{hl}}DropIndex(t0, t0.Indexes.First()){{/hl}};
// by table type
ddl.{{hl}}DropIndex<Orders>("index_name"){{/hl}};
// by table name
ddl.{{hl}}DropIndex("table1", "index_name"){{/hl}};
vFa43T