Summary
In this chapter, we used LINQ to Entities to communicate with the database in the data access layer, rather than using the raw ADO.NET APIs. We have used only one LINQ statement to retrieve product information from the database, and as you have seen, the updates with LINQ to Entities prove to be much easier than with the raw ADO.NET data adapters. Now, WCF and LINQ are combined together for our services, so we can take advantage of both technologies.
In the next chapter, we will explore transaction support of WCF with LINQ to Entities so that we can write transactional WCF services.