1 write to _cacheEntry
System.Data.Entity (1)
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (1)
32_cacheEntry = cacheEntry;
22 references to _cacheEntry
System.Data.Entity (22)
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (10)
49Debug.Assert(_cacheEntry != null, "CacheEntry is required."); 50return _cacheEntry.GetFieldCount(_metadata); 255Debug.Assert(_cacheEntry != null, "CacheEntry is required."); 256return _cacheEntry.GetFieldType(ordinal, _metadata); 310Debug.Assert(_cacheEntry != null, "CacheEntry is required."); 311return _cacheEntry.GetCLayerName(ordinal, _metadata); 320Debug.Assert(_cacheEntry != null, "CacheEntry is required."); 321int ordinal = _cacheEntry.GetOrdinalforCLayerName(name, _metadata); 537Debug.Assert(_cacheEntry != null, "CacheEntry is required."); 538_recordInfo = _cacheEntry.GetDataRecordInfo(_metadata, _userObject);
System\Data\Objects\ObjectStateEntryDbUpdatableDataRecord.cs (5)
57if (_cacheEntry.IsRelationship) 59return (_cacheEntry as RelationshipEntry).GetCurrentRelationValue(ordinal); 63return (_cacheEntry as EntityEntry).GetCurrentEntityValue(_metadata, ordinal, _userObject, ObjectStateValueRecord.CurrentUpdatable); 68if (_cacheEntry.IsRelationship) 75(_cacheEntry as EntityEntry).SetCurrentEntityValue(_metadata, ordinal, _userObject, value);
System\Data\Objects\ObjectStateEntryOriginalDbUpdatableDataRecord.cs (7)
44Debug.Assert(!_cacheEntry.IsRelationship, "should not be relationship"); 45return (_cacheEntry as EntityEntry).GetOriginalEntityValue(_metadata, ordinal, _userObject, ObjectStateValueRecord.OriginalUpdatableInternal); 49Debug.Assert(!_cacheEntry.IsRelationship, "should not be relationship"); 50(_cacheEntry as EntityEntry).SetOriginalEntityValue(_metadata, ordinal, _userObject, value); 72Debug.Assert(!_cacheEntry.IsRelationship, "should not be relationship"); 73return (_cacheEntry as EntityEntry).GetOriginalEntityValue(_metadata, ordinal, _userObject, ObjectStateValueRecord.OriginalUpdatablePublic, GetPropertyIndex(ordinal)); 90EntityEntry entry = _cacheEntry as EntityEntry;