29 references to To
System.Data.Entity (29)
System\Data\Objects\DataClasses\EntityReference.cs (1)
271
RelationshipWrapper wrapper = new RelationshipWrapper((AssociationSet)RelationshipSet, RelationshipNavigation.From, ownerKey, RelationshipNavigation.
To
, value);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (5)
365
RelationshipNavigation.From, ownerKey, RelationshipNavigation.
To
, DetachedEntityKey);
438
new KeyValuePair<string, EntityKey>(RelationshipNavigation.
To
, DetachedEntityKey));
651
throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference(this.RelationshipNavigation.
To
, this.RelationshipNavigation.RelationshipName);
726
this.RelationshipNavigation.
To
, this.RelationshipNavigation.RelationshipName);
774
throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference(this.RelationshipNavigation.
To
, this.RelationshipNavigation.RelationshipName);
System\Data\Objects\DataClasses\RelatedEnd.cs (13)
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
);
1615
otherEndAsRef.RelationshipNavigation.
To
,
1654
throw EntityUtil.CannotCreateRelationshipBetweenTrackedAndNoTrackedEntities(_navigation.
To
);
1787
new KeyValuePair<string, EntityKey>(_navigation.
To
, entityKey));
2162
new KeyValuePair<string, EntityKey>(_navigation.
To
, entityKey)),
2249
new KeyValuePair<string, EntityKey>(navigation.
To
, entityKey));
2263
new KeyValuePair<string, EntityKey>(navigation.
To
, entityKey));
2370
if (relationEnd.Name == this._navigation.
To
)
2601
string targetRoleName = _navigation.
To
;
System\Data\Objects\DataClasses\RelationshipManager.cs (2)
907
if (TryGetCachedRelatedEnd(navigation.RelationshipName, navigation.
To
, out relatedEnd))
1420
if (relNav.RelationshipName == relationshipName && relNav.
To
== targetRoleName)
System\Data\Objects\DataClasses\RelationshipNavigation.cs (2)
165
&& (this.
To
== compareTo.
To
)));
System\Data\Objects\EntityEntry.cs (2)
2394
relatedEnd.RelationshipNavigation.
To
,
3638
refToDependent.RelationshipNavigation.
To
,
System\Data\Objects\ObjectStateManager.cs (4)
3160
pair.Key.RelationshipNavigation.
To
,
3195
pair.Key.RelationshipNavigation.
To
,
3228
reference.RelationshipNavigation.
To
,
3245
reference.RelationshipNavigation.
To
,