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