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