General Discussion Board - Please post questions, answers, (polite) opinions, and use-cases. Moderators reserve the right to amend the text/subject line or re-categorise the post to better suit the forum configuration if necessary.
Master Detail Unit-Of-Work Transactions
03/12/2017
|
migrator Administrator Posts: 63
|
How Can I Save and Update the Master Child Entry in Single Transaction using CodeTrigger Especially if the primary keys are auto generated, and i have to retrieve the master ID/primary key to save in the foreign key field of the child item
|
|
0
link
|
03/12/2017
|
migrator Administrator Posts: 63
|
See unit of work pattern tutorial on the website for details on transaction construction.
See the section 'Getting db auto-generated numbers/keys from one transaction step to the next' for details on how you can pass the primary/foreign key of a detail object to the master object in a single transaction
|
|
0
link
|