protected override void Generate(DropTable op) { using (var sql = this.Writer()) { sql.Write("DROP TABLE "); sql.Write(this.Quote(op.TableName)); this.AddRun(sql); } }
protected abstract void Generate(DropTable op);
protected override void Generate(DropTable op) { base.Generate(op); if (op.PKIdentity) { this.AddRun(new SqlMigrationRun { Sql = "DROP SEQUENCE " + this.SEQName(op) }); } }