I am using edmx(Ado.net Entity Data Model) fro one of my project .
I want to manage my save transactiion.
I want to perform transaction integrity for all the transaction .
How can I perform this.
Can someone provide me some tutorial
I am using edmx(Ado.net Entity Data Model) fro one of my project . I
Share
SaveChangeswill create it’s own transaction. The changes in theObjectContextwill only be accepted when the transaction completes successfully.If you want more control over your transaction (maybe for multiple actions against different ObjectContexts) you can use your own
TransactionScopeand the Entity Framework will detect this transaction and use it for his own operations.Here is the MSDN Documentation about managing transactions.