Hello,
I am trying to add shipment and shipment items to database and I want to commit those changes to database only when all the shipment items are added. Due to any application failure, if any one of my shipment items doesn't get added, I want to rollback the changes. So for this I am trying to use transactions concept. I just want to know whether there is any implementation for Transactions in the EF code that I can use. And if yes, Can you please give me a sample on how it can be achieved.
Thanks!!