public override void Visit(SqlCoalesceScalarExpression sqlCoalesceScalarExpression) { this.writer.Write("("); sqlCoalesceScalarExpression.LeftExpression.Accept(this); this.writer.Write(" ?? "); sqlCoalesceScalarExpression.RightExpression.Accept(this); this.writer.Write(")"); }
public override int Visit(SqlCoalesceScalarExpression sqlCoalesceScalarExpression) { int hashCode = SqlCoalesceScalarExpressionHashCode; hashCode = CombineHashes(hashCode, sqlCoalesceScalarExpression.LeftExpression.Accept(this)); hashCode = CombineHashes(hashCode, sqlCoalesceScalarExpression.RightExpression.Accept(this)); return(hashCode); }
public override SqlObject Visit(SqlCoalesceScalarExpression sqlCoalesceScalarExpression) { return(SqlCoalesceScalarExpression.Create( sqlCoalesceScalarExpression.LeftExpression.Accept(this) as SqlScalarExpression, sqlCoalesceScalarExpression.RightExpression.Accept(this) as SqlScalarExpression)); }
public abstract void Visit(SqlCoalesceScalarExpression scalarExpression);
protected abstract SqlScalarExpression Visit(SqlCoalesceScalarExpression expression);