17 references to ObjectStateValueRecord
System.Data.Entity (17)
System\Data\Objects\EntityEntry.cs (13)
293
var originalValue = GetOriginalEntityValue(_cacheTypeMetadata, ordinal, _wrappedEntity.Entity,
ObjectStateValueRecord
.OriginalReadonly);
1295
return GetOriginalEntityValue(_cacheTypeMetadata, ordinal, _wrappedEntity.Entity,
ObjectStateValueRecord
.OriginalReadonly);
1298
internal object GetOriginalEntityValue(StateManagerTypeMetadata metadata, int ordinal, object userObject,
ObjectStateValueRecord
updatableRecord)
1300
Debug.Assert(updatableRecord !=
ObjectStateValueRecord
.OriginalUpdatablePublic, "OriginalUpdatablePublic records must preserve complex type information, use the overload that takes parentEntityPropertyIndex");
1304
internal object GetOriginalEntityValue(StateManagerTypeMetadata metadata, int ordinal, object userObject,
ObjectStateValueRecord
updatableRecord, int parentEntityPropertyIndex)
1318
internal object GetCurrentEntityValue(StateManagerTypeMetadata metadata, int ordinal, object userObject,
ObjectStateValueRecord
updatableRecord)
1320
Debug.Assert(updatableRecord !=
ObjectStateValueRecord
.OriginalUpdatablePublic, "OriginalUpdatablePublic records must preserve complex type information, use the overload that takes parentEntityPropertyIndex");
1324
internal object GetCurrentEntityValue(StateManagerTypeMetadata metadata, int ordinal, object userObject,
ObjectStateValueRecord
updatableRecord, int parentEntityPropertyIndex)
1342
case
ObjectStateValueRecord
.OriginalReadonly:
1346
case
ObjectStateValueRecord
.CurrentUpdatable:
1350
case
ObjectStateValueRecord
.OriginalUpdatableInternal:
1354
case
ObjectStateValueRecord
.OriginalUpdatablePublic:
2976
return GetCurrentEntityValue(_cacheTypeMetadata, ordinal, _wrappedEntity.Entity,
ObjectStateValueRecord
.CurrentUpdatable);
System\Data\Objects\ObjectStateEntryDbDataRecord.cs (1)
235
return (_cacheEntry as EntityEntry).GetOriginalEntityValue(_metadata, ordinal, _userObject,
ObjectStateValueRecord
.OriginalReadonly);
System\Data\Objects\ObjectStateEntryDbUpdatableDataRecord.cs (1)
63
return (_cacheEntry as EntityEntry).GetCurrentEntityValue(_metadata, ordinal, _userObject,
ObjectStateValueRecord
.CurrentUpdatable);
System\Data\Objects\ObjectStateEntryOriginalDbUpdatableDataRecord.cs (2)
45
return (_cacheEntry as EntityEntry).GetOriginalEntityValue(_metadata, ordinal, _userObject,
ObjectStateValueRecord
.OriginalUpdatableInternal);
73
return (_cacheEntry as EntityEntry).GetOriginalEntityValue(_metadata, ordinal, _userObject,
ObjectStateValueRecord
.OriginalUpdatablePublic, GetPropertyIndex(ordinal));