public override void Visit(SqlIdentifierPathExpression sqlIdentifierPathExpression)
        {
            if (sqlIdentifierPathExpression.ParentPath != null)
            {
                sqlIdentifierPathExpression.ParentPath.Accept(this);
                this.writer.Write(".");
            }

            sqlIdentifierPathExpression.Value.Accept(this);
        }
Exemplo n.º 2
0
        public override int Visit(SqlIdentifierPathExpression sqlIdentifierPathExpression)
        {
            int hashCode = SqlIdentifierPathExpressionHashCode;

            if (sqlIdentifierPathExpression.ParentPath != null)
            {
                hashCode = CombineHashes(hashCode, sqlIdentifierPathExpression.ParentPath.Accept(this));
            }

            hashCode = CombineHashes(hashCode, sqlIdentifierPathExpression.Value.Accept(this));
            return(hashCode);
        }
 public override SqlObject Visit(SqlIdentifierPathExpression sqlIdentifierPathExpression)
 {
     return(SqlIdentifierPathExpression.Create(
                sqlIdentifierPathExpression.ParentPath?.Accept(this) as SqlPathExpression,
                sqlIdentifierPathExpression.Value.Accept(this) as SqlIdentifier));
 }
 public abstract void Visit(SqlIdentifierPathExpression sqlObject);