title: Reliable way to run code against Entities just Inserted with ObjectContext?
body: <p>I have some code that needs to run every time an Entity is Inserted into my database, the problem is that this code requires the Entity PrimaryKey.<br>
  I have found that I can get the Entities from the ObjectStateManager with EntityState.Unchanged and that is my object after Insert, but I am not sure if that will always be the only objects with "Unchanged" as their EntityState in the ObjectContext.  </p>
  
  <p>Is there a reliable way to run code only against objects that have JUST been Inserted with ObjectContext?</p>