26 references to GetOtherEndOfRelationship
System.Data.Entity (26)
System\Data\Objects\DataClasses\EntityCollection.cs (2)
422
EntityReference otherEnd =
GetOtherEndOfRelationship
(wrappedEntity) as EntityReference;
653
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
System\Data\Objects\DataClasses\EntityReference.cs (1)
412
EntityReference otherEnd =
GetOtherEndOfRelationship
(targetEntity) as EntityReference;
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
139
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(_wrappedCachedValue);
System\Data\Objects\DataClasses\RelatedEnd.cs (9)
879
RelatedEnd targetRelatedEnd =
GetOtherEndOfRelationship
(wrappedTarget);
1144
RelatedEnd targetRelatedEnd =
GetOtherEndOfRelationship
(wrappedTarget);
1387
RelatedEnd otherRelatedEnd = this.
GetOtherEndOfRelationship
(wrappedEntity);
1406
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
1426
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
1587
RelatedEnd otherRelatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
2024
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
2041
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
2216
RelatedEnd relatedEnd =
GetOtherEndOfRelationship
(wrappedEntity);
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
1162
var dependentEnd = relatedEnd.
GetOtherEndOfRelationship
(dependent);
System\Data\Objects\EntityEntry.cs (7)
2322
RelatedEnd relatedEndTo = relatedEndFrom.
GetOtherEndOfRelationship
(relatedWrapper);
2350
RelatedEnd relatedEndTo = relatedEndFrom.
GetOtherEndOfRelationship
(relatedWrapper);
3566
EntityReference otherEnd = relatedEnd.
GetOtherEndOfRelationship
(principalEntry.WrappedEntity) as EntityReference;
3613
RelatedEnd dependentEnd = refToPrincipal.
GetOtherEndOfRelationship
(wrappedPrincipal);
3710
(principalEntry != this || (isOneToMany = reference.
GetOtherEndOfRelationship
(existingPrincipal) is EntityReference).Value))
3717
isOneToMany = reference.
GetOtherEndOfRelationship
(existingPrincipal) is EntityReference;
3782
EntityReference principalRef = principalEnd.
GetOtherEndOfRelationship
(dependent) as EntityReference;
System\Data\Objects\ObjectStateManager.cs (5)
879
targetRelatedEnd = relatedEnd.
GetOtherEndOfRelationship
(wrappedTarget);
891
targetRelatedEnd = relatedEnd.
GetOtherEndOfRelationship
(wrappedTarget);
3430
EntityReference targetReference = relatedEnd.
GetOtherEndOfRelationship
(entityToAdd) as EntityReference;
3607
RelatedEnd otherEnd = relatedEnd.
GetOtherEndOfRelationship
(relatedEntity);
3659
reference.
GetOtherEndOfRelationship
(wrappedEntity) as EntityReference;