示例#1
0
        protected override void Generate(DropTable op)
        {
            using (var sql = this.Writer())
            {
                sql.Write("DROP TABLE ");
                sql.Write(this.Quote(op.TableName));

                this.AddRun(sql);
            }
        }
示例#2
0
 protected abstract void Generate(DropTable op);
示例#3
0
        protected override void Generate(DropTable op)
        {
            base.Generate(op);

            if (op.PKIdentity)
            {
                this.AddRun(new SqlMigrationRun
                {
                    Sql = "DROP SEQUENCE " + this.SEQName(op)
                });
            }
        }