1 implementation of IsKeyEntry
System.Data.Entity (1)
System\Data\Objects\ObjectStateEntry.cs (1)
249bool IEntityStateEntry.IsKeyEntry
6 references to IsKeyEntry
System.Data.Entity (6)
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
301Debug.Assert(!addedEntry.IsKeyEntry);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (5)
206else if (!stateEntry.IsKeyEntry) 841if (!addedEntry.IsRelationship && !addedEntry.IsKeyEntry) 876if (m_stateManager.TryGetEntityStateEntry(key, out requiredEntry) && !requiredEntry.IsKeyEntry) 895if (m_stateManager.TryGetEntityStateEntry(key, out optionalEntry) && !optionalEntry.IsKeyEntry) 1013!endEntry.IsKeyEntry && // make sure the entity is not a stub