2 implementations of RelationshipManager
System.Data.Entity (2)
System\Data\Objects\Internal\BaseEntityWrapper.cs (1)
90public RelationshipManager RelationshipManager
System\Data\Objects\Internal\NullEntityWrapper.cs (1)
38public RelationshipManager RelationshipManager
49 references to RelationshipManager
System.Data.Entity (49)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
483relatedEnd = LightweightCodeGenerator.GetRelatedEnd(wrappedEntity.RelationshipManager, sourceEnd, targetEnd, null);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (2)
328RelatedEnd relatedEnd = wrappedTarget.RelationshipManager.GetRelatedEndInternal(RelationshipName, RelationshipNavigation.From); 617_wrappedCachedValue.RelationshipManager.RetrieveReferentialConstraintProperties(out retrievedProperties, visited, includeOwnValues: true);
System\Data\Objects\DataClasses\RelatedEnd.cs (9)
1319entityToAdd.RelationshipManager.NodeVisited = true; 1378wrappedEntity.RelationshipManager.CheckReferentialConstraintProperties(entry); 1684wrappedEntity.RelationshipManager.CheckReferentialConstraintProperties(entry); 1758if (null != cacheEntry && cacheEntry.State != EntityState.Deleted && !wrappedEntity.RelationshipManager.NodeVisited) 1760wrappedEntity.RelationshipManager.NodeVisited = true; 2172foreach (RelatedEnd relatedEnd in wrappedEntity.RelationshipManager.Relationships) 2275foreach (RelatedEnd relatedEnd in wrappedEntity1.RelationshipManager.Relationships) 2317_wrappedOwner.RelationshipManager.NodeVisited = false; 2485return (RelatedEnd)wrappedEntity.RelationshipManager.GetRelatedEnd(_navigation.Reverse, _relationshipFixer);
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
1118foreach (RelatedEnd relatedEnd in wrappedEntity.RelationshipManager.Relationships)
System\Data\Objects\ELinq\InitializerFacet.cs (1)
500EntityCollection<T> result = wrappedOwner.RelationshipManager.GetRelatedCollection<T>(relationshipName, targetRoleName);
System\Data\Objects\EntityEntry.cs (11)
527return WrappedEntity.RelationshipManager; 1131RelatedEnd relatedEnd = this.WrappedEntity.RelationshipManager.GetRelatedEndInternal(relationshipName, targetRoleName); 2128RelationshipManager rm = this._wrappedEntity.RelationshipManager; 2186RelatedEnd otherRelatedEnd = relatedWrapper.RelationshipManager.GetRelatedEndInternal(n.RelationshipType.FullName, n.FromEndMember.Name); 2257RelatedEnd relatedEnd = this.WrappedEntity.RelationshipManager.GetRelatedEndInternal(n.RelationshipType.FullName, n.ToEndMember.Name); 2415RelationshipManager relationshipManager = _wrappedEntity.RelationshipManager; 2541EntityReference relatedEnd = WrappedEntity.RelationshipManager.GetRelatedEndInternal( 2619RelationshipManager relationshipManager = _wrappedEntity.RelationshipManager; 2674RelationshipManager relationshipManager = _wrappedEntity.RelationshipManager; 3061this.WrappedEntity.RelationshipManager.VerifyIsNotRelated(); 3425EntityReference relatedEnd = WrappedEntity.RelationshipManager.GetRelatedEndInternal(
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
59wrappedEntity.RelationshipManager.SetWrappedOwner(wrappedEntity, entity);
System\Data\Objects\Internal\LazyLoadBehavior.cs (1)
171RelationshipManager relationshipManager = wrapper.RelationshipManager;
System\Data\Objects\ObjectContext.cs (7)
648RelationshipManager relationshipManager = wrappedEntity.RelationshipManager; 751wrappedEntity.RelationshipManager.GetRelatedEnd(navigationProperty).Load(); 767wrappedEntity.RelationshipManager.GetRelatedEnd(navigationProperty).Load(mergeOption); 791wrappedEntity.RelationshipManager.GetRelatedEnd(navProp, throwArgumentException: removedConvert).Load(); 816wrappedEntity.RelationshipManager.GetRelatedEnd(navProp, throwArgumentException: removedConvert).Load(mergeOption); 1030RelationshipManager relationshipManager = wrappedEntity.RelationshipManager; 1101RelationshipManager relationshipManager = wrappedEntity.RelationshipManager;
System\Data\Objects\ObjectStateManager.cs (12)
425wrappedObject.RelationshipManager.ClearRelatedEndWrappers(); 812RelatedEnd relatedEnd = wrappedSource.RelationshipManager.GetRelatedEndInternal(sourceMember.DeclaringType.FullName, targetMember.Name); 979RelatedEnd relatedEnd = wrappedSource.RelationshipManager.GetRelatedEndInternal(sourceMember.DeclaringType.FullName, targetMember.Name); 1087RelatedEnd relatedEnd = wrappedSource.RelationshipManager.GetRelatedEndInternal(sourceMember.DeclaringType.FullName, targetMember.Name); 1393EntityReference reference = entry.WrappedEntity.RelationshipManager.GetRelatedEndInternal(((AssociationSet)relationshipEntry.EntitySet).ElementType.FullName, targetRoleName) as EntityReference; 1428wrappedObject.RelationshipManager.ClearRelatedEndWrappers(); 2208RelatedEnd relatedEnd = (RelatedEnd)sourceEntry.WrappedEntity.RelationshipManager.GetRelatedEnd(navigationProperty); 2240RelatedEnd relatedEnd = (RelatedEnd)sourceEntry.WrappedEntity.RelationshipManager.GetRelatedEnd(navigationProperty, throwArgumentException: removedConvert); 2269RelatedEnd relatedEnd = sourceEntry.WrappedEntity.RelationshipManager.GetRelatedEndInternal(relationshipName, targetRoleName); 2675relationshipManager = wrappedEntity.RelationshipManager; 3343foreach (RelatedEnd relatedEnd in entry.WrappedEntity.RelationshipManager.Relationships) 3469foreach (RelatedEnd relatedEnd in entry.WrappedEntity.RelationshipManager.Relationships)
System\Data\Objects\RelationshipEntry.cs (3)
518wrappedEntity1.RelationshipManager.RemoveEntity(toRole, relationshipName, wrappedEntity2); 529relationshipManager = wrappedEntity2.RelationshipManager; 534relationshipManager = wrappedEntity1.RelationshipManager;