Hello,
I am using an Oracle db with Tables that have Sequences for its PK, which are assigned through an insert trigger.
So, for example, Employee and Orders are linked by EmployeeId (PK on Employee, FK on Orders). Order's PK is EmployeeOrderId, which is also assigned by the insert trigger.
I need to create a new Employee Entity (so at this time it does not have a EmployeeId assigned) and then add a few Orders, before finally saving it. However, I can't figure out how to assign/sync the EmployeeId from the Employee to each of the objects in the Orders collection. I'm using the adapter model.
Thanks.