6 writes to _entityKey
System.Data.Entity (6)
System\Data\Objects\EntityEntry.cs (6)
71
_entityKey
= entityKey;
110
_entityKey
= entityKey;
150
_entityKey
= value;
910
_entityKey
= null;
2869
_entityKey
= EntityKey; //Performs validation.
2883
_entityKey
= null;
7 references to _entityKey
System.Data.Entity (7)
System\Data\Objects\EntityEntry.cs (7)
146
return
_entityKey
;
446
Debug.Assert((object)
_entityKey
!= null, "All entities in the state manager should have a non-null EntityKey.");
447
Debug.Assert(
_entityKey
.IsTemporary, "All entities in the Added state should have a temporary EntityKey.");
886
if (Helper.IsEntityType(metadata.CdmMetadata.EdmType) && (null != (object)
_entityKey
))
890
return new EntityRecordInfo(metadata.DataRecordInfo,
_entityKey
, (EntitySet)EntitySet);
2445
EntityKey key =
_entityKey
;
2867
Debug.Assert((object)
_entityKey
!= null);