Chapter 9. Applying LINQ to Entities to a WCF Service

Now that we have learned all of the features related to LINQ and LINQ to Entities, we will use them in the data access layer of a WCF service. We will create a new WCF service very similar to the one we created in the previous chapters, but in this service, we will use LINQ to Entities to connect to the Northwind database to retrieve and update a product.

In this chapter, we will cover the following topics:

  • Creating a test solution
  • Modeling the Northwind database in the LINQ to Entities designer
  • Adding the business domain object project
  • Implementing the data access layer using LINQ to Entities
  • Adding the business logic layer
  • Adding the service interface layer
  • Implementing the test client
  • Testing the ...

Get WCF Multi-layer Services Development with Entity Framework Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.