Creating a LINQ to Entities test application
Now that we have explained some of the basic concepts of LINQ to Entities let us start exploring LINQ to Entities with some real examples. We will apply the skills we are going to learn in the following two chapters to the data access layer of our WCF service so that from the WCF service we can communicate with the database using LINQ to Entities instead of the raw ADO.NET data adapter.
First we need to create a new project to test LINQ to Entities. Just follow these steps to add this test application to the solution:
Open the solution,
TestLINQ
.From Solution Explorer, right-click on the Solution item and select Add | New Project… from the context menu.
Select Visual C# | Console Application as the project template, enter TestLINQToEntitiesApp as the (project) Name, and leave the default value C:\SOAWithWCFandLINQ\Projects\TestLINQ as the Location.
Click on OK.