Accessing primary key of new obj after a call to SaveChanges

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
jdaly
Posts: 3
Joined: Fri 20 Jun 2008 01:48

Accessing primary key of new obj after a call to SaveChanges

Post by jdaly » Fri 20 Jun 2008 01:57

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?

anton.connect
Posts: 43
Joined: Thu 19 Jun 2008 14:30

Post by anton.connect » Tue 24 Jun 2008 12:48

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.

Post Reply