T
Tomasz
Hello everyone,
I am either missing something, or it is actually not so straight forward.
How do I add batch of records through single Webservice call? - Important
requirement, newly added records have ids and some other values assigned on
the server side, so they have to be reconciled (merged back).
The I experience that in order to send data, and be able to merge results
the back, I have to create some, temporary unique id on the client side. But
when the batch (DataTable) of added records comes back, unique ids differ
and automatic reconciliation using Merge() method is no longer possible.
I can, of course, deleted on the client side newly added records, and add
those returned back by the webmethod call, but may be there exists more
"elegant" solution.
Thank you,
Tomasz
I am either missing something, or it is actually not so straight forward.
How do I add batch of records through single Webservice call? - Important
requirement, newly added records have ids and some other values assigned on
the server side, so they have to be reconciled (merged back).
The I experience that in order to send data, and be able to merge results
the back, I have to create some, temporary unique id on the client side. But
when the batch (DataTable) of added records comes back, unique ids differ
and automatic reconciliation using Merge() method is no longer possible.
I can, of course, deleted on the client side newly added records, and add
those returned back by the webmethod call, but may be there exists more
"elegant" solution.
Thank you,
Tomasz