Exemplo n.º 1
0
 /// <inheritdoc/>
 public override string Translate(SqlCompilerContext context, SqlDropTable node)
 {
     return("DROP TABLE " + Translate(context, node.Table));
 }
Exemplo n.º 2
0
 public virtual void Visit(SqlDropTable node)
 {
 }
Exemplo n.º 3
0
 public override string Translate(SqlCompilerContext context, SqlDropTable node)
 {
     return("DROP TABLE " + Translate(context, node.Table) + (node.Cascade ? " CASCADE CONSTRAINTS" : string.Empty));
 }
Exemplo n.º 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));
        }
Exemplo n.º 6
0
 public void Visit(SqlDropTable node)
 {
 }