views:

17

answers:

1

This has probably been answer already but I am trying to return the primary key after inserting a record to the database. Does anyone know how this is accomplish after the record has been created?

+1  A: 

The primary key will be set on the entity as soon as its saved.

Mattias Jakobsson
Thank you Mattias. You are correct.
JkenshinN