24 references to GetRelatedEndInternal
System.Data.Entity (24)
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
328
RelatedEnd relatedEnd = wrappedTarget.RelationshipManager.
GetRelatedEndInternal
(RelationshipName, RelationshipNavigation.From);
System\Data\Objects\DataClasses\RelationshipManager.cs (4)
388
return
GetRelatedEndInternal
(navProp.RelationshipType.FullName, navProp.ToEndMember.Name);
403
return
GetRelatedEndInternal
(PrependNamespaceToRelationshipName(relationshipName), targetRoleName);
865
EntityCollection<TTargetEntity> collection =
GetRelatedEndInternal
(PrependNamespaceToRelationshipName(relationshipName), targetRoleName) as EntityCollection<TTargetEntity>;
884
EntityReference<TTargetEntity> reference =
GetRelatedEndInternal
(PrependNamespaceToRelationshipName(relationshipName), targetRoleName) as EntityReference<TTargetEntity>;
System\Data\Objects\EntityEntry.cs (12)
1131
RelatedEnd relatedEnd = this.WrappedEntity.RelationshipManager.
GetRelatedEndInternal
(relationshipName, targetRoleName);
2102
var reference = RelationshipManager.
GetRelatedEndInternal
(dependent.Item1.ElementType.FullName, dependent.Item2.FromRole.Name) as EntityReference;
2137
RelatedEnd relatedEnd = rm.
GetRelatedEndInternal
(n.RelationshipType.FullName, n.ToEndMember.Name);
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);
2541
EntityReference relatedEnd = WrappedEntity.RelationshipManager.
GetRelatedEndInternal
(
2592
EntityReference entityReference = (EntityReference)relationshipManager.
GetRelatedEndInternal
(targetMember.DeclaringType.FullName, targetMember.Name);
3425
EntityReference relatedEnd = WrappedEntity.RelationshipManager.
GetRelatedEndInternal
(
3702
EntityReference reference = RelationshipManager.
GetRelatedEndInternal
(dependent.Item1.ElementType.FullName, dependent.Item2.FromRole.Name) as EntityReference;
3755
RelatedEnd principalEnd = RelationshipManager.
GetRelatedEndInternal
(principal.Item1.ElementType.FullName, principal.Item2.ToRole.Name);
3862
EntityReference reference = RelationshipManager.
GetRelatedEndInternal
(
3888
EntityReference reference = RelationshipManager.
GetRelatedEndInternal
(
System\Data\Objects\Internal\LazyLoadBehavior.cs (1)
175
RelatedEnd relatedEnd = relationshipManager.
GetRelatedEndInternal
(relationshipName, targetRoleName);
System\Data\Objects\ObjectStateManager.cs (5)
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;
2269
RelatedEnd relatedEnd = sourceEntry.WrappedEntity.RelationshipManager.
GetRelatedEndInternal
(relationshipName, targetRoleName);
System\Data\Objects\RelationshipEntry.cs (1)
544
EntityReference entityReference = (EntityReference)relationshipManager.
GetRelatedEndInternal
(targetMember.DeclaringType.FullName, targetMember.Name);