21 references to FindEntityEntry
System.Data.Entity (21)
System\Data\Common\Internal\Materialization\Shaper.cs (2)
152
EntityEntry existingEntry = this.Context.ObjectStateManager.
FindEntityEntry
(entityKey);
200
EntityEntry existingEntry = this.Context.ObjectStateManager.
FindEntityEntry
(entityKey);
System\Data\Objects\DataClasses\EntityReference.cs (1)
209
EntityEntry targetEntry = manager.
FindEntityEntry
(value);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
286
EntityEntry existingEntry = manager.
FindEntityEntry
(DetachedEntityKey);
System\Data\Objects\DataClasses\RelationshipManager.cs (2)
1271
EntityEntry entry = wrappedOwner.Context.ObjectStateManager.
FindEntityEntry
(ownerKey);
1292
EntityEntry entry = wrappedOwner.Context.ObjectStateManager.
FindEntityEntry
(ownerKey);
System\Data\Objects\ObjectContext.cs (5)
566
existingEntry = this.ObjectStateManager.
FindEntityEntry
(key);
910
EntityEntry ose = this.ObjectStateManager.
FindEntityEntry
(key);
955
EntityEntry ose = this.ObjectStateManager.
FindEntityEntry
(key);
1130
EntityEntry entry = ObjectStateManager.
FindEntityEntry
(key);
2022
EntityEntry entry = ObjectStateManager.
FindEntityEntry
(key);
System\Data\Objects\ObjectStateManager.cs (10)
283
EntityEntry entry =
FindEntityEntry
(entityKey);
390
(dataObjectEntityKey != null && (null != (existingEntry =
FindEntityEntry
(dataObjectEntityKey))))))
435
Debug.Assert(null ==
FindEntityEntry
(entityKey), "should not have existing entry");
1572
Debug.Assert(null !=
FindEntityEntry
(key), "EntityEntry doesn't exist");
1598
Debug.Assert(null !=
FindEntityEntry
(key), "EntityEntry doesn't exist");
1669
return new EntityEntry.RelationshipEndEnumerable((EntityEntry)
FindEntityEntry
(key));
1992
EntityEntry existingEntry =
FindEntityEntry
(newKey);
2078
Debug.Assert(
FindEntityEntry
(newKey) == null, "no entry should exist with the new temporary key");
2163
this.
FindEntityEntry
(key) :
2395
this.
FindEntityEntry
(key) :