This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi I would like to know if it's possible to tell the unit of work to save in a specific sequence. I've got a scenario where I need all the data to be saved in one transaction but they are all related. I have a 3 entities Payment, Batch and BatchDetail. A batch is already created. So when I try to save the Payment I need to link the Payment to a BatchDetail entity which then is linked to the Batch entity. So the way I would like to do this is to save BatchDetail first and then the Payment so that I don't get the foreign key constraint issue. Cheers Johan |
|
|
No we don't have such an option, however we sort the operations based on dependancies - is there a circular reference present between these entities?
|
|