Entity Framework transaction scope examples
I just posted examples on how to use transaction scopes with entity framework on my programming interviews blog.
In this post, I cover three cases in which transaction scope is being used to show rollback when an error occurs during an update of multiple entities:
- when you have multiple save calls to the context;
- when you have single save with multiple object; and
- transactions across multiple contexts.
Check it out and share your feedback.