Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have Invoice which has Invoice LineItemList, My application displays the existing LineItemList to user (after making Deep copy of Object) for Modification, Once the user submit the changes now i want to save these changes to database with concurrency.

What i am currently doing is delete all line item & insert freshly in a transaction, i don't know if it is good practice or is there any better way(i heard merge statement can handle this).

Regards

Vinay
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900