S
ST
Is there a way to update a typed dataset with both inserted and deleted
records back to datasource in a persistent way?
Let's use the purchase order as example. If my typed dataset is built from
joining PO table and Item table with parent and child relationship. When I
inserting a new PO I'll have to insert the PO record first; while when I
deleting a PO I'll have to delete the Item record first because the parent
child constrain. In which case my update function will have to identify the
insert and delete records and update accordingly. Is there an easier
approach to handle this?
Thanks.
records back to datasource in a persistent way?
Let's use the purchase order as example. If my typed dataset is built from
joining PO table and Item table with parent and child relationship. When I
inserting a new PO I'll have to insert the PO record first; while when I
deleting a PO I'll have to delete the Item record first because the parent
child constrain. In which case my update function will have to identify the
insert and delete records and update accordingly. Is there an easier
approach to handle this?
Thanks.