1 implementation of TryGetEntityStateEntry
System.Data.Entity (1)
System\Data\Objects\ObjectStateManager.cs (1)
2507
bool IEntityStateManager.
TryGetEntityStateEntry
(EntityKey key, out IEntityStateEntry entry)
5 references to TryGetEntityStateEntry
System.Data.Entity (5)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (5)
277
if (m_stateManager.
TryGetEntityStateEntry
(principalKey, out existingPrincipal))
876
if (m_stateManager.
TryGetEntityStateEntry
(key, out requiredEntry) && !requiredEntry.IsKeyEntry)
895
if (m_stateManager.
TryGetEntityStateEntry
(key, out optionalEntry) && !optionalEntry.IsKeyEntry)
909
if (m_stateManager.
TryGetEntityStateEntry
(key, out valueEntry))
1012
if (m_stateManager.
TryGetEntityStateEntry
(key, out endEntry) && // make sure the entity is tracked