12 references to ToEndMember
System.Data.Entity (12)
System\Data\Objects\DataClasses\EntityCollection.cs (2)
198
singleEntitySet = ((AssociationSet)this.RelationshipSet).AssociationSetEnds[this.
ToEndMember
.Name].EntitySet;
199
EntityType associationEndType = (EntityType)((RefType)((AssociationEndMember)this.
ToEndMember
).TypeUsage.EdmType).ElementType;
System\Data\Objects\DataClasses\EntityReference.cs (1)
477
EntitySet principalEntitySet = ((AssociationSet)RelationshipSet).AssociationSetEnds[
ToEndMember
.Name].EntitySet;
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (3)
185
if (!((AssociationType)base.RelationMetadata).IsForeignKey &&
ToEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.One)
307
if (relationshipEntry.IsSameAssociationSetAndRole((AssociationSet)RelationshipSet, (AssociationEndMember)
ToEndMember
, DetachedEntityKey) &&
478
ownerEntry.DeleteRelationshipsThatReferenceKeys(this.RelationshipSet, this.
ToEndMember
);
System\Data\Objects\DataClasses\RelatedEnd.cs (4)
800
ObjectStateManager.UpdateRelationships(this.ObjectContext, mergeOption, (AssociationSet)RelationshipSet, (AssociationEndMember)FromEndProperty, sourceKey, _wrappedOwner, (AssociationEndMember)
ToEndMember
, collection, setIsLoaded);
1801
((
ToEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.ZeroOrOne ||
1802
ToEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.One) &&
2138
AssociationEndMember associationEndMember = (AssociationEndMember)
ToEndMember
;
System\Data\Objects\ObjectStateManager.cs (2)
927
AssociationEndMember endMember = (AssociationEndMember)(relatedEnd.
ToEndMember
);
1088
AssociationEndMember endMember = (AssociationEndMember)(relatedEnd.
ToEndMember
);