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