I suppose the question was asked before (it's so general) but I can't find the answer.
How can I retrieve auto generated integer primary key value after I inserted a new row and called "SubmitChanges" ? I need to know the key exactly on the client-side 'cos I'm going to use this value further for calculations.
When unique key is Guid I can generate primary key value on the client-side. But what about generated values on the server-side?
Thank you in advance!