After you have inserted the entity it should have been updated so that the property that maps to the primary key in the database has the new PK value.
After you have inserted the entity it should have been updated so that the property that maps to the primary key in the database has the new PK value.