2 writes to _unchangedEntityStore
System.Data.Entity (2)
System\Data\Objects\ObjectStateManager.cs (2)
2806
_unchangedEntityStore
= new Dictionary<EntityKey, EntityEntry>();
2945
_unchangedEntityStore
= null;
17 references to _unchangedEntityStore
System.Data.Entity (17)
System\Data\Objects\ObjectStateManager.cs (17)
1703
if (null !=
_unchangedEntityStore
)
1705
result |=
_unchangedEntityStore
.TryGetValue(entry.EntityKey, out entrya);
1712
Dictionary<EntityKey, EntityEntry>[] stores = {
_unchangedEntityStore
, _modifiedEntityStore, _addedEntityStore, _deletedEntityStore };
1811
size += ((null !=
_unchangedEntityStore
) ?
_unchangedEntityStore
.Count : 0);
1831
if (
_unchangedEntityStore
!= null)
1833
size +=
_unchangedEntityStore
.Count;
1888
if (((EntityState.Unchanged & state) != 0) && (null !=
_unchangedEntityStore
))
1890
foreach (var e in
_unchangedEntityStore
)
1915
GetEntityEntriesForDetectChanges(
_unchangedEntityStore
, ref entries);
2058
Debug.Assert((null !=
_unchangedEntityStore
) &&
_unchangedEntityStore
.ContainsKey(newKey), "EntityEntry does not exist with NewKey");
2566
result = (((null !=
_unchangedEntityStore
) &&
_unchangedEntityStore
.TryGetValue(key, out entry)) ||
2804
if (null ==
_unchangedEntityStore
)
2808
dictionaryToAdd =
_unchangedEntityStore
;
2919
dictionaryContainingEntry =
_unchangedEntityStore
;