示例#1
0
        public virtual ISqlNode VisitDelete(SqlDeleteNode n)
        {
            var source = Visit(n.Source);

            var where = Visit(n.WhereClause);
            return(n.Update(source, where));
        }
示例#2
0
        public override ISqlNode VisitDelete(SqlDeleteNode n)
        {
            var symbols = PushSymbolTable();

            n         = base.VisitDelete(n) as SqlDeleteNode;
            n.Symbols = symbols;
            PopSymbolTable();
            return(n);
        }
示例#3
0
        public ISqlNode VisitDelete(SqlDeleteNode n)
        {
            Append("DELETE FROM ", n.Source, " ");
            if (n.WhereClause != null)
            {
                AppendLineAndIndent();
                AppendLine("WHERE");
                IncreaseIndent();
                WriteIndent();
                Visit(n.WhereClause);
                DecreaseIndent();
            }

            return(n);
        }
 public override ISqlNode VisitDelete(SqlDeleteNode n)
 {
     return(base.VisitDelete(n));
 }