O'Reilly logo

WCF 4.5 Multi-Layer Services Development with Entity Framework by Mike Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a LINQ to Entities test application

Now that we have learned some of the basic concepts of LINQ to Entities, let's 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:

  1. Open the TestLINQ solution.
  2. From Solution Explorer, right-click on the Solution item and select Add | New Project… from the context menu.
  3. Select Visual C# | Console Application as the project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required