Page 1 of 1

Accessing primary key of new obj after a call to SaveChanges

Posted: Fri 20 Jun 2008 01:57
by jdaly
I'm using OraDirect.NET in the context of the ADO.NET Entity Framework. Having created a new object, and called "SaveChanges" on the ObjectContext, I want to obtain that objects primary key value. On the database, this is generated using a sequence and trigger.

It would be nice if I could easily get access to the primary key, following an insert. Do you know of a way?

Posted: Tue 24 Jun 2008 12:48
by anton.connect
Thank you for your inquiry.
Unfortunately, OraDirect .NET doesn't support such option
We are considering its implementation in the nearest future.
For implementation of this feature we need one month approximately.