12 references to Key0
System.Data.Entity (12)
System\Data\Objects\EntityEntry.cs (3)
673
bool currentIsKey0 = object.ReferenceEquals(this.EntityKey, current.
Key0
) ||
674
(!object.ReferenceEquals(this.EntityKey, current.Key1) && this.EntityKey.Equals(current.
Key0
));
805
Debug.Assert(_entityEntry.EntityKey.Equals(relationshipEnd.
Key0
) || _entityEntry.EntityKey.Equals(relationshipEnd.Key1), "entity key mismatch");
System\Data\Objects\RelationshipEntry.cs (9)
232
if (this.RelationshipWrapper.Key0 == this.
Key0
)
235
this.
Key0
, this.Key1,
244
this.
Key0
, this.Key1,
385
return entityKey ==
Key0
;
442
if (oldKey.Equals(
Key0
))
708
Debug.Assert(entityKey.Equals(
Key0
) || entityKey.Equals(Key1), "EntityKey mismatch");
709
return (entityKey.Equals(
Key0
) ? NextKey0 : NextKey1);
715
Debug.Assert(entityKey.Equals(
Key0
) || entityKey.Equals(Key1), "EntityKey mismatch");
716
if (entityKey.Equals(
Key0
))