예제 #1
0
 /// <inheritdoc/>
 public override string Translate(SqlCompilerContext context, SqlDropTable node)
 {
     return("DROP TABLE " + Translate(context, node.Table));
 }
예제 #2
0
 public virtual void Visit(SqlDropTable node)
 {
 }
예제 #3
0
 public override string Translate(SqlCompilerContext context, SqlDropTable node)
 {
     return("DROP TABLE " + Translate(context, node.Table) + (node.Cascade ? " CASCADE CONSTRAINTS" : string.Empty));
 }
예제 #4
0
        public void Test151()
        {
            SqlDropTable drop = SqlDdl.Drop(Catalog.Schemas["main"].Tables["customer"]);

            Console.Write(Compile(drop));
        }
        public void Test151()
        {
            SqlDropTable drop = SqlDdl.Drop(schema.Tables["customer"]);

            Console.Write(Compile(drop));
        }
예제 #6
0
 public void Visit(SqlDropTable node)
 {
 }