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)
146return _entityKey; 446Debug.Assert((object)_entityKey != null, "All entities in the state manager should have a non-null EntityKey."); 447Debug.Assert(_entityKey.IsTemporary, "All entities in the Added state should have a temporary EntityKey."); 886if (Helper.IsEntityType(metadata.CdmMetadata.EdmType) && (null != (object)_entityKey)) 890return new EntityRecordInfo(metadata.DataRecordInfo, _entityKey, (EntitySet)EntitySet); 2445EntityKey key = _entityKey; 2867Debug.Assert((object)_entityKey != null);