O'Reilly logo

WCF 4.0 Multi-tier Services Development with LINQ to Entities 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

Chapter 7. LINQ to Entities: Basic Concepts and Features

In the previous chapter, we learned new features of C# 3.0 including LINQ. In this chapter and the next, we will explain how to use LINQ to query a database, or in other words, how to use LINQ to Entities in C#. After reading these two chapters we will have a good understanding of LINQ to Entities so that we can rewrite the data access layer of our WCF service with LINQ to Entities, to securely and reliably communicate with the underlying database.

In this chapter, we will cover the basic concepts and features of LINQ to Entities, which include:

  • What ORM is
  • What LINQ to Entities is
  • What LINQ to SQL is
  • Comparing LINQ to Entities with LINQ to Objects and LINQ to SQL
  • Modeling the Northwind database ...

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