protected override Expression VisitCollection(CollectionExpression collection)
 {
     _aliases.Add(collection.Alias);
     return collection;
 }
Beispiel #2
0
 protected override Expression VisitCollection(CollectionExpression collection)
 {
     var newAlias = new Alias();
     _map[collection.Alias] = newAlias;
     return new CollectionExpression(newAlias, collection.Collection, collection.DocumentType);
 }
 protected virtual Expression VisitCollection(CollectionExpression collection)
 {
     return collection;
 }
 protected virtual bool CompareCollection(CollectionExpression a, CollectionExpression b)
 {
     return(a.Collection == b.Collection);
 }
 protected virtual bool CompareCollection(CollectionExpression a, CollectionExpression b)
 {
     return a.Collection == b.Collection;
 }
 protected virtual Expression VisitCollection(CollectionExpression collection)
 {
     return(collection);
 }