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:

  1. when you have multiple save calls to the context;
  2. when you have single save with multiple object; and
  3. transactions across multiple contexts.

Check it out and share your feedback.