public virtual ISqlNode VisitDelete(SqlDeleteNode n) { var source = Visit(n.Source); var where = Visit(n.WhereClause); return(n.Update(source, where)); }
public override ISqlNode VisitDelete(SqlDeleteNode n) { var symbols = PushSymbolTable(); n = base.VisitDelete(n) as SqlDeleteNode; n.Symbols = symbols; PopSymbolTable(); return(n); }
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)); }