1 write to _navigation
System.Data.Entity (1)
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
2509_navigation = navigation;
33 references to _navigation
System.Data.Entity (33)
System\Data\Objects\DataClasses\RelatedEnd.cs (33)
163return _navigation; 177return _navigation.RelationshipName; 191return _navigation.From; 205return _navigation.To; 1106if ((((AssociationSet)_relationshipSet).AssociationSetEnds[_navigation.To] != null) && 1107(((AssociationSet)_relationshipSet).AssociationSetEnds[_navigation.To].EntitySet != set)) 1109throw EntityUtil.EntitySetIsNotValidForRelationship(set.EntityContainer.Name, set.Name, _navigation.To, _relationshipSet.EntityContainer.Name, _relationshipSet.Name); 1154this._navigation.From : this._navigation.To); 1440MarkRelationshipAsDeletedInObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 1465RemoveEntityFromRelatedEnds(wrappedEntity, _wrappedOwner, _navigation.Reverse); 1654throw EntityUtil.CannotCreateRelationshipBetweenTrackedAndNoTrackedEntities(_navigation.To); 1765RemoveRelationshipFromObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 1774RemoveRelationshipFromObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 1786new KeyValuePair<string, EntityKey>(_navigation.From, ownerKey), 1787new KeyValuePair<string, EntityKey>(_navigation.To, entityKey)); 2022DetachRelationshipFromObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 2161new KeyValuePair<string, EntityKey>(_navigation.From, ownerKey), 2162new KeyValuePair<string, EntityKey>(_navigation.To, entityKey)), 2350associationset.AssociationSetEnds[_navigation.From].EntitySet != entitySet && 2351associationset.AssociationSetEnds[_navigation.From].EntitySet.ElementType == entitySet.ElementType) 2352throw EntityUtil.EntitySetIsNotValidForRelationship(entitySet.EntityContainer.Name, entitySet.Name, _navigation.From, ((AssociationSet)set).EntityContainer.Name, ((AssociationSet)set).Name); 2355throw EntityUtil.NoRelationshipSetMatched(_navigation.RelationshipName); 2363if (relationEnd.Name == this._navigation.From) 2370if (relationEnd.Name == this._navigation.To) 2424relationshipType = context.MetadataWorkspace.GetItem<EdmType>(_navigation.RelationshipName, DataSpace.CSpace); 2427throw EntityUtil.NoRelationshipSetMatched(_navigation.RelationshipName); 2435if (((AssociationSet)entitySetBase).AssociationSetEnds[_navigation.From].EntitySet == entitySet) 2485return (RelatedEnd)wrappedEntity.RelationshipManager.GetRelatedEnd(_navigation.Reverse, _relationshipFixer); 2591Debug.Assert(_navigation != null, "Null RelationshipNavigation"); 2599string relationshipName = _navigation.RelationshipName; 2600string sourceRoleName = _navigation.From; 2601string targetRoleName = _navigation.To;