DropTable is used to drop an existing table in a database. This method may needs some privilege according to the database product and its version. Examples Following section demonstrates DROP the table(s).
        {{hl}}var ddl = connection.DDL();{{/hl}}

		// by table alias
		var t0 = new Orders().AsQueryable();
        var t1 = new OrderDetails().AsQueryable();

		ddl.{{hl}}DropTable(t0){{/hl}};   // single
		ddl.{{hl}}DropTable(new [] {t0, t1}){{/hl}};  // multi

		// by table type
        ddl.{{hl}}DropTable<Orders>(){{/hl}};

		// by table name
		ddl.{{hl}}DropTable("table1"){{/hl}};
	
for all databases
DROP TABLE [Orders]

lYQxL5