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