public override void Visit(SqlInputPathCollection sqlInputPathCollection)
 {
     sqlInputPathCollection.Input.Accept(this);
     if (sqlInputPathCollection.RelativePath != null)
     {
         sqlInputPathCollection.RelativePath.Accept(this);
     }
 }
Example #2
0
        public override int Visit(SqlInputPathCollection sqlInputPathCollection)
        {
            int hashCode = SqlInputPathCollectionHashCode;

            hashCode = CombineHashes(hashCode, sqlInputPathCollection.Input.Accept(this));
            if (sqlInputPathCollection.RelativePath != null)
            {
                hashCode = CombineHashes(hashCode, sqlInputPathCollection.RelativePath.Accept(this));
            }

            return(hashCode);
        }
 public override SqlObject Visit(SqlInputPathCollection sqlInputPathCollection)
 {
     return(SqlInputPathCollection.Create(
                sqlInputPathCollection.Input.Accept(this) as SqlIdentifier,
                sqlInputPathCollection.RelativePath?.Accept(this) as SqlPathExpression));
 }
Example #4
0
 public abstract void Visit(SqlInputPathCollection collection);
Example #5
0
 protected override void Visit(SqlInputPathCollection collection)
 {
     this.rootName = collection.Input.Value;
 }
Example #6
0
 protected abstract void Visit(SqlInputPathCollection collection);