One of the greatest benefits of well-defined abstractions in code is that we do not need to have an implementation before we begin to consume a component. The interface alone, in our case
IQueryable<>, is sufficient to begin developing and testing the queries that we will use.
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 and updating data.
Open the Improving Query Testing solution in the included source code examples.
Carry out the following steps in order to accomplish this recipe.
QueryTeststo the test ...