Ejemplo n.º 1
0
        public bool VisitExprDelete(ExprDelete expr, TCtx arg)
        {
            var res = this.Visit(expr, "Delete", arg, out var argOut) && this.Accept("Target", expr.Target, argOut) && this.Accept("Source", expr.Source, argOut) && this.Accept("Filter", expr.Filter, argOut);

            this._visitor.EndVisitExpr(expr, arg);
            return(res);
        }
Ejemplo n.º 2
0
 public static ExprDeleteOutput WithDelete(this ExprDeleteOutput original, ExprDelete newDelete)
 => new ExprDeleteOutput(delete: newDelete, outputColumns: original.OutputColumns);
Ejemplo n.º 3
0
 public static ExprDelete WithFilter(this ExprDelete original, ExprBoolean?newFilter)
 => new ExprDelete(target: original.Target, source: original.Source, filter: newFilter);
Ejemplo n.º 4
0
 public static ExprDelete WithSource(this ExprDelete original, IExprTableSource?newSource)
 => new ExprDelete(target: original.Target, source: newSource, filter: original.Filter);
Ejemplo n.º 5
0
 public static ExprDelete WithTarget(this ExprDelete original, ExprTable newTarget)
 => new ExprDelete(target: newTarget, source: original.Source, filter: original.Filter);
Ejemplo n.º 6
0
 public override bool VisitExprDelete(ExprDelete exprDelete, IExpr?parent)
 {
     this.GenericDelete(exprDelete.Target, null, exprDelete.Source, exprDelete.Filter, exprDelete);
     return(true);
 }
Ejemplo n.º 7
0
        //Delete

        public abstract bool VisitExprDelete(ExprDelete exprDelete, IExpr?parent);