System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (11)
94if (object.ReferenceEquals(toEnd.CorrespondingAssociationEndMember,
95fromEnd.CorrespondingAssociationEndMember)) { continue; }
102fromEnd.CorrespondingAssociationEndMember.RelationshipMultiplicity)) { continue; }
105if (!MetadataHelper.GetEntityTypeForEnd(toEnd.CorrespondingAssociationEndMember)
109DirectionalRelationship relationship = new DirectionalRelationship(entityKey, fromEnd.CorrespondingAssociationEndMember,
110toEnd.CorrespondingAssociationEndMember, associationSet, stateEntry);
160if (object.ReferenceEquals(toEnd.CorrespondingAssociationEndMember, fromEnd.CorrespondingAssociationEndMember))
165EntityKey toEntityKey = endNameToKeyMap[toEnd.CorrespondingAssociationEndMember.Name];
166DirectionalRelationship relationship = new DirectionalRelationship(toEntityKey, fromEnd.CorrespondingAssociationEndMember,
167toEnd.CorrespondingAssociationEndMember, associationSet, stateEntry);