public bool VisitExprAliasedColumnName(ExprAliasedColumnName expr, TCtx arg) { var res = this.Visit(expr, "AliasedColumnName", arg, out var argOut) && this.Accept("Column", expr.Column, argOut) && this.Accept("Alias", expr.Alias, argOut); this._visitor.EndVisitExpr(expr, arg); return(res); }
public bool VisitExprAliasedColumnName(ExprAliasedColumnName exprAliasedColumnName, IExpr?parent) { exprAliasedColumnName.Column.Accept(this, exprAliasedColumnName); if (exprAliasedColumnName.Alias != null) { this.Builder.Append(' '); exprAliasedColumnName.Alias.Accept(this, exprAliasedColumnName); } return(true); }
public static ExprOutputColumnInserted WithColumnName(this ExprOutputColumnInserted original, ExprAliasedColumnName newColumnName) => new ExprOutputColumnInserted(columnName: newColumnName);
public static ExprAliasedColumnName WithAlias(this ExprAliasedColumnName original, ExprColumnAlias?newAlias) => new ExprAliasedColumnName(column: original.Column, alias: newAlias);
public static ExprAliasedColumnName WithColumn(this ExprAliasedColumnName original, ExprColumnName newColumn) => new ExprAliasedColumnName(column: newColumn, alias: original.Alias);
public ExprOutputColumnDeleted(ExprAliasedColumnName columnName) { this.ColumnName = columnName; }
public IInsertDataBuilderFinalOutput Output(ExprAliasedColumnName column, params ExprAliasedColumnName[] rest) { this._output.AssertFatalNull(nameof(this._output)); this._output = Helpers.Combine(column, rest); return(this); }
public static ExprInsertOutput Output(this ExprInsert exprInsert, ExprAliasedColumnName column, params ExprAliasedColumnName[] columns) => new ExprInsertOutput(exprInsert, Helpers.Combine(column, columns));