adding the entity key to a temp data store.