13 references to TryGetEntityEntry
System.Data.Entity (13)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
313if (!manager.TryGetEntityEntry(targetKey, out targetEntry))
System\Data\Objects\EntityEntry.cs (3)
3544if (_cache.TryGetEntityEntry(foreignKey, out principalEntry) && 3925this.ObjectStateManager.TryGetEntityEntry(currentKey, out entry); 3941this.ObjectStateManager.TryGetEntityEntry(currentKey, out entry);
System\Data\Objects\ObjectContext.cs (1)
2472ObjectStateManager.TryGetEntityEntry(key, out entry); // this will check key argument
System\Data\Objects\ObjectStateManager.cs (8)
2440if (!TryGetEntityEntry(key, out entry)) 2533if (!TryGetEntityEntry(dependentKey, out dependentEntry)) 2550result = this.TryGetEntityEntry(key, out entityEntry); 2579TryGetEntityEntry(key, out entry); 2600TryGetEntityEntry(entityEntityKey, out entry); 3377if (this.TryGetEntityEntry(entityKeyOfAddedObjects, out relatedEntry) && 3500if (this.TryGetEntityEntry(key, out relatedEntry) && 3512this.TryGetEntityEntry(reference.ReferenceValue.EntityKey, out relatedEntry) &&