In older EF versions I used to be able to see the entity key by using EntityObject.EntityKey
Obviously EF5 uses normal Objects and the only way I can see to get at the underlying entity framework object it to use DbContext.Entry(). This however still does not seem to give me access to the EntityKey.
Is there a way to get at this now?