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