4 writes to Key0
System.Data.Entity (4)
System\Data\Objects\RelationshipWrapper.cs (4)
28
this.
Key0
= key;
39
this.
Key0
= (0 == ordinal) ? key : wrapper.Key0;
70
Key0
= key0;
77
Key0
= key1;
18 references to Key0
System.Data.Entity (18)
System\Data\Objects\EntityEntry.cs (2)
664
Debug.Assert(EntityKey.Equals(item.RelationshipWrapper.
Key0
) || EntityKey.Equals(item.RelationshipWrapper.Key1), "entity key doesn't match");
680
Debug.Assert(EntityKey.Equals(current.RelationshipWrapper.
Key0
), "entity key didn't match");
System\Data\Objects\ObjectStateManager.cs (4)
1560
AddRelationshipEndToLookup(relationship.RelationshipWrapper.
Key0
, relationship);
1561
if (!relationship.RelationshipWrapper.
Key0
.Equals(relationship.RelationshipWrapper.Key1))
1585
DeleteRelationshipEndFromLookup(relationship.RelationshipWrapper.
Key0
, relationship);
1586
if (!relationship.RelationshipWrapper.
Key0
.Equals(relationship.RelationshipWrapper.Key1))
System\Data\Objects\RelationshipEntry.cs (3)
22
internal EntityKey Key0 { get { return RelationshipWrapper.
Key0
; } }
232
if (this.RelationshipWrapper.
Key0
== this.Key0)
242
Debug.Assert(this.RelationshipWrapper.
Key0
== this.Key1, "invalid relationship");
System\Data\Objects\RelationshipWrapper.cs (9)
39
this.Key0 = (0 == ordinal) ? key : wrapper.
Key0
;
89
Debug.Assert(
Key0
== key || Key1 == key, "didn't match a key");
90
return AssociationEndMembers[(
Key0
!= key) ? 1 : 0];
95
return ((
Key0
== key) ? Key1 : ((Key1 == key) ?
Key0
: null));
103
return
Key0
;
113
return this.AssociationSet.Name.GetHashCode() ^ (this.
Key0
.GetHashCode() + this.Key1.GetHashCode());
126
this.
Key0
.Equals(wrapper.
Key0
) &&