8 references to CreateEntityKey
System.Data.Entity (8)
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1904
principalKey = _context.ObjectStateManager.
CreateEntityKey
(principalEntitySet, wrappedRelatedEntity.Entity);
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
301
wrapper.EntityKey = context.ObjectStateManager.
CreateEntityKey
(entitySet, wrapper.Entity);
System\Data\Objects\ObjectContext.cs (5)
564
key = this.ObjectStateManager.
CreateEntityKey
(entitySet, wrappedEntity.Entity);
906
key = this.ObjectStateManager.
CreateEntityKey
(entitySet, currentEntity);
951
key = this.ObjectStateManager.
CreateEntityKey
(entitySet, originalEntity);
1112
key = this.ObjectStateManager.
CreateEntityKey
(entitySet, wrappedEntity.Entity);
1225
return this.ObjectStateManager.
CreateEntityKey
(entitySet, entity);
System\Data\Objects\ObjectStateManager.cs (1)
3296
entityKey = this.
CreateEntityKey
(this.GetEntitySetOfOtherEnd(entityFrom, relatedEndFrom), entityTo.Entity);