All, Using oracle and DBLinq, how can I perform an insert and get the sequence value back into my primary key? I cannot figure it out.
I have something like this: Employee emp = new Employee(); emp.Name = "joe"; db.Employee.InsertOnSubmit(emp); db.SubmitChanges(); // how do I get the primary key value now? int recordID = emp.ID; // ID returns 0 but is 9 in the database table Thanks for any help! /Justin -- You received this message because you are subscribed to the Google Groups "DbLinq" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/dblinq?hl=en.
