In this recipe, we will be retrieving data from the database in a threaded environment, making sure that it is the most current data possible.
We will be using the
NuGet Package Manager to install the Entity Framework 4.1 assemblies.
The package installer can be found at http://nuget.org.
We will also be using a database for connecting to the data and updating it.
Open the Improving Transaction Scope solution in the included source code examples.
using System.Data.Entity; ...