Hi,
How do I retrieve the Primary Key (which is autoincrementing) of a newly added
entity?
This is what I am presuming:
adapter.SaveEntity(addressentity,true); // Refetchaftersave is set to true
// Here I expect the AddressID to be populated by the newly generated ID
return addressentity.AddressId;
What am I doing wrong?
Any help will be greatly appreciated.
thanks,
Jayman