23 references to FindEntityEntry
System.Data.Entity (23)
System\Data\Objects\DataClasses\RelatedEnd.cs (9)
336
EntityEntry stateEntry = _context.ObjectStateManager.
FindEntityEntry
(_wrappedOwner.Entity);
674
EntityEntry entry = ObjectContext.ObjectStateManager.
FindEntityEntry
(_wrappedOwner.Entity);
865
EntityEntry ownerEntry = stateManager.
FindEntityEntry
(_wrappedOwner.Entity);
882
EntityEntry targetEntry = stateManager.
FindEntityEntry
(((EntityReference)targetRelatedEnd).WrappedOwner.Entity);
939
EntityEntry stateEntry = ObjectContext.ObjectStateManager.
FindEntityEntry
(wrappedEntity.Entity);
1116
EntityEntry entry = this.ObjectContext.ObjectStateManager.
FindEntityEntry
(wrappedEntity.Entity);
1575
EntityEntry cacheEntry = _context.ObjectStateManager.
FindEntityEntry
(wrappedEntity.Entity);
1756
EntityEntry cacheEntry = _context.ObjectStateManager.
FindEntityEntry
(wrappedEntity.Entity);
2227
entry = wrappedEntity.Context.ObjectStateManager.
FindEntityEntry
(wrappedEntity.Entity);
System\Data\Objects\EntityEntry.cs (2)
2172
EntityEntry relatedEntry = this.ObjectStateManager.
FindEntityEntry
(o);
2326
this.ObjectStateManager.
FindEntityEntry
(relatedObject) == null)
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
239
existingEntry = stateManager.
FindEntityEntry
(entity);
System\Data\Objects\ObjectContext.cs (4)
668
EntityEntry entry = this.ObjectStateManager.
FindEntityEntry
(wrappedEntity.Entity);
1714
EntityEntry cacheEntry = this.ObjectStateManager.
FindEntityEntry
(entity);
1762
EntityEntry cacheEntry = this.ObjectStateManager.
FindEntityEntry
(entity);
2247
EntityEntry entry = ObjectStateManager.
FindEntityEntry
(entity);
System\Data\Objects\ObjectStateManager.cs (6)
389
((dataObjectEntityKey == null && (null != (existingEntry =
FindEntityEntry
(wrappedObject.Entity)))) ||
2164
this.
FindEntityEntry
(entity);
2396
this.
FindEntityEntry
(o);
2469
EntityEntry entry =
FindEntityEntry
(entity);
2496
entry =
FindEntityEntry
(entity);
3256
EntityEntry relatedEntry =
FindEntityEntry
(addedEntity.Entity);
System\Data\Objects\ObjectViewQueryResultData.cs (1)
201
EntityEntry stateEntry = _objectContext.ObjectStateManager.
FindEntityEntry
(item);