Example #1
0
        public bool VisitExprExprMergeNotMatchedInsertDefault(ExprExprMergeNotMatchedInsertDefault expr, TCtx arg)
        {
            var res = this.Visit(expr, "ExprMergeNotMatchedInsertDefault", arg, out var argOut) && this.Accept("And", expr.And, argOut);

            this._visitor.EndVisitExpr(expr, arg);
            return(res);
        }
Example #2
0
        public bool VisitExprExprMergeNotMatchedInsertDefault(ExprExprMergeNotMatchedInsertDefault exprExprMergeNotMatchedInsertDefault, IExpr?parent)
        {
            if (exprExprMergeNotMatchedInsertDefault.And != null)
            {
                this.Builder.Append(" AND ");
                exprExprMergeNotMatchedInsertDefault.And.Accept(this, exprExprMergeNotMatchedInsertDefault);
            }

            this.Builder.Append(" THEN INSERT DEFAULT VALUES");

            return(true);
        }
Example #3
0
 public static ExprExprMergeNotMatchedInsertDefault WithAnd(this ExprExprMergeNotMatchedInsertDefault original, ExprBoolean?newAnd)
 => new ExprExprMergeNotMatchedInsertDefault(and: newAnd);