public override void Visit(SqlPropertyRefScalarExpression sqlPropertyRefScalarExpression) { if (sqlPropertyRefScalarExpression.MemberExpression != null) { sqlPropertyRefScalarExpression.MemberExpression.Accept(this); this.writer.Write("."); } sqlPropertyRefScalarExpression.PropertyIdentifier.Accept(this); }
public override int Visit(SqlPropertyRefScalarExpression sqlPropertyRefScalarExpression) { int hashCode = SqlPropertyRefScalarExpressionHashCode; if (sqlPropertyRefScalarExpression.MemberExpression != null) { hashCode = CombineHashes(hashCode, sqlPropertyRefScalarExpression.MemberExpression.Accept(this)); } hashCode = CombineHashes(hashCode, sqlPropertyRefScalarExpression.PropertyIdentifier.Accept(this)); return(hashCode); }
public override SqlObject Visit(SqlPropertyRefScalarExpression sqlPropertyRefScalarExpression) { return(SqlPropertyRefScalarExpression.Create( sqlPropertyRefScalarExpression.MemberExpression?.Accept(this) as SqlScalarExpression, sqlPropertyRefScalarExpression.PropertyIdentifier.Accept(this) as SqlIdentifier)); }
public abstract void Visit(SqlPropertyRefScalarExpression scalarExpression);
protected abstract SqlScalarExpression Visit(SqlPropertyRefScalarExpression expression);