Accessing primary key of new obj after a call to SaveChanges

Accessing primary key of new obj after a call to SaveChanges

Postby 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?
jdaly
 
Posts: 3
Joined: Fri 20 Jun 2008 01:48

Postby 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.
anton.connect
 
Posts: 43
Joined: Thu 19 Jun 2008 14:30


Return to dotConnect for Oracle