The last table to update on the applyupdates

114 views Asked by At

I have a CRUD that contains 5 tables and I need to do some processing on the server side alter the last table has been updated, the events on the datasetprovider happens after each individual table.

Like, I have 3 tables, person, car, personcar. I fill the fields I click save, first it's gonna save the person, then the car and last the personcar. How can I know, in the transaction block, the last table?

I couldn't find the right 'after' event...

2

There are 2 answers

0
Vladimir Ulchenko On

there's no such built-in functionality unless you utilize nested datasets that is. you should either implement some specific remote method wrapping all required modifications or enhance midas with extra means (see for example "KT Data Components" lib to get the idea how this could be implemented)

0
House of Dexter On

Your transaction should be on the serverside...have a method call that passes all your datasets in one call...handles the start/commit/rollback on the server side not the client side.