4 writes to Key1
System.Data.Entity (4)
System\Data\Objects\RelationshipWrapper.cs (4)
29
this.
Key1
= key;
40
this.
Key1
= (0 == ordinal) ? wrapper.Key1 : key;
71
Key1
= key1;
78
Key1
= key0;
15 references to Key1
System.Data.Entity (15)
System\Data\Objects\EntityEntry.cs (2)
664
Debug.Assert(EntityKey.Equals(item.RelationshipWrapper.Key0) || EntityKey.Equals(item.RelationshipWrapper.
Key1
), "entity key doesn't match");
686
Debug.Assert(EntityKey.Equals(current.RelationshipWrapper.
Key1
), "entity key didn't match");
System\Data\Objects\ObjectStateManager.cs (4)
1561
if (!relationship.RelationshipWrapper.Key0.Equals(relationship.RelationshipWrapper.
Key1
))
1563
AddRelationshipEndToLookup(relationship.RelationshipWrapper.
Key1
, relationship);
1586
if (!relationship.RelationshipWrapper.Key0.Equals(relationship.RelationshipWrapper.
Key1
))
1588
DeleteRelationshipEndFromLookup(relationship.RelationshipWrapper.
Key1
, relationship);
System\Data\Objects\RelationshipEntry.cs (1)
23
internal EntityKey Key1 { get { return RelationshipWrapper.
Key1
; } }
System\Data\Objects\RelationshipWrapper.cs (8)
40
this.Key1 = (0 == ordinal) ? wrapper.
Key1
: key;
89
Debug.Assert(Key0 == key ||
Key1
== key, "didn't match a key");
95
return ((Key0 == key) ?
Key1
: ((
Key1
== key) ? Key0 : null));
105
return
Key1
;
113
return this.AssociationSet.Name.GetHashCode() ^ (this.Key0.GetHashCode() + this.
Key1
.GetHashCode());
127
this.
Key1
.Equals(wrapper.
Key1
)));