1 instantiation of StateManagerValue
System.Data.Entity (1)
System\Data\Objects\EntityEntry.cs (1)
2940
_originalValues.Add(new
StateManagerValue
(memberMetadata, userObject, value));
10 references to StateManagerValue
System.Data.Entity (10)
System\Data\Objects\EntityEntry.cs (10)
30
private List<
StateManagerValue
> _originalValues; // only exists if _modifiedFields has a true-bit
1211
_originalValues.Remove((
StateManagerValue
)orgValue);
1313
return ((
StateManagerValue
)retValue).originalValue ?? DBNull.Value;
1391
foreach (
StateManagerValue
cachevalue in _originalValues) // this should include also shadow state
1461
_originalValues.Remove((
StateManagerValue
)retValue);
1488
StateManagerValue
originalStateValue = ((
StateManagerValue
)retValue);
1873
var originalValue = ((
StateManagerValue
)originalStateManagerValue).originalValue;
1996
if (!Object.Equals(currentValue, originalValueFound ? ((
StateManagerValue
)originalStateManagerValue).originalValue : null))
2938
_originalValues = new List<
StateManagerValue
>();