Esempio n. 1
0
 //Drop table - supported, but will fail if there's an old foreign key to this table. Dropping FKs is not supported,
 // so we do not delete the table if there are foreign keys
 public override void BuildTableDropSql(DbObjectChange change, DbTableInfo table)
 {
     var refs = table.GetIncomingReferences();
       if(refs.Count > 0)
     return;
       base.BuildTableDropSql(change, table);
 }