public override void Visit(SqlInputPathCollection sqlInputPathCollection)
 {
     sqlInputPathCollection.Input.Accept(this);
     if (sqlInputPathCollection.RelativePath != null)
     {
         sqlInputPathCollection.RelativePath.Accept(this);
     }
 }
Exemple #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));
 }
Exemple #4
0
 public abstract void Visit(SqlInputPathCollection collection);
Exemple #5
0
 protected override void Visit(SqlInputPathCollection collection)
 {
     this.rootName = collection.Input.Value;
 }
Exemple #6
0
 protected abstract void Visit(SqlInputPathCollection collection);