public override void Visit(SqlUnaryScalarExpression sqlUnaryScalarExpression) { this.writer.Write("("); this.writer.Write(SqlObjectTextSerializer.SqlUnaryScalarOperatorKindToString(sqlUnaryScalarExpression.OperatorKind)); this.writer.Write(" "); sqlUnaryScalarExpression.Expression.Accept(this); this.writer.Write(")"); }
public override int Visit(SqlUnaryScalarExpression sqlUnaryScalarExpression) { int hashCode = SqlUnaryScalarExpressionHashCode; hashCode = CombineHashes(hashCode, SqlObjectHasher.SqlUnaryScalarOperatorKindGetHashCode(sqlUnaryScalarExpression.OperatorKind)); hashCode = CombineHashes(hashCode, sqlUnaryScalarExpression.Expression.Accept(this)); return(hashCode); }
public override SqlObject Visit(SqlUnaryScalarExpression sqlUnaryScalarExpression) { return(SqlUnaryScalarExpression.Create( sqlUnaryScalarExpression.OperatorKind, sqlUnaryScalarExpression.Expression.Accept(this) as SqlScalarExpression)); }
public abstract void Visit(SqlUnaryScalarExpression scalarExpression);
protected abstract SqlScalarExpression Visit(SqlUnaryScalarExpression expression);