38 references to RelationshipNavigation
System.Data.Entity (38)
System\Data\Objects\DataClasses\EntityCollection.cs (2)
465if ((wrappedEntity.Entity == wrappedCurrent.Entity) && (navigation.Equals(RelationshipNavigation))) 729Debug.Assert(this.RelationshipNavigation != null, "null RelationshipNavigation");
System\Data\Objects\DataClasses\EntityReference.cs (3)
271RelationshipWrapper wrapper = new RelationshipWrapper((AssociationSet)RelationshipSet, RelationshipNavigation.From, ownerKey, RelationshipNavigation.To, value); 618Debug.Assert(RelationshipNavigation != null, "null RelationshipNavigation");
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (13)
328RelatedEnd relatedEnd = wrappedTarget.RelationshipManager.GetRelatedEndInternal(RelationshipName, RelationshipNavigation.From); 365RelationshipNavigation.From, ownerKey, RelationshipNavigation.To, DetachedEntityKey); 437new KeyValuePair<string, EntityKey>(RelationshipNavigation.From, ownerKey), 438new KeyValuePair<string, EntityKey>(RelationshipNavigation.To, DetachedEntityKey)); 462if ((wrappedEntity.Entity == _wrappedCachedValue.Entity) && (navigation.Equals(this.RelationshipNavigation))) 651throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference(this.RelationshipNavigation.To, this.RelationshipNavigation.RelationshipName); 705Debug.Assert(this.RelationshipNavigation != null, "null RelationshipNavigation"); 726this.RelationshipNavigation.To, this.RelationshipNavigation.RelationshipName); 774throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference(this.RelationshipNavigation.To, this.RelationshipNavigation.RelationshipName);
System\Data\Objects\DataClasses\RelatedEnd.cs (7)
1615otherEndAsRef.RelationshipNavigation.To, 1616otherEndAsRef.RelationshipNavigation.RelationshipName)); 1718Debug.Assert(this.RelationshipNavigation != null, "null RelationshipNavigation"); 1736Debug.Assert(this.RelationshipNavigation != null, "null RelationshipNavigation"); 2575return RelationshipNavigation.ToPropertyAccessor; 2593if (!RelationshipNavigation.IsInitialized) 2626RelationshipNavigation.InitializeAccessors(sourceAccessor, targetAccessor);
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
1419RelationshipNavigation relNav = end.RelationshipNavigation;
System\Data\Objects\EntityEntry.cs (4)
2394relatedEnd.RelationshipNavigation.To, 2395relatedEnd.RelationshipNavigation.RelationshipName); 3638refToDependent.RelationshipNavigation.To, 3639refToDependent.RelationshipNavigation.RelationshipName);
System\Data\Objects\ObjectStateManager.cs (8)
3160pair.Key.RelationshipNavigation.To, 3161pair.Key.RelationshipNavigation.RelationshipName)); 3195pair.Key.RelationshipNavigation.To, 3196pair.Key.RelationshipNavigation.RelationshipName)); 3228reference.RelationshipNavigation.To, 3229reference.RelationshipNavigation.RelationshipName)); 3245reference.RelationshipNavigation.To, 3246reference.RelationshipNavigation.RelationshipName));