Chapter 1. LINQ Introduction

By surfing the web, you can find several descriptions of Microsoft Language Integrated Query (LINQ), including these:

  • LINQ provides a uniform programming model for any kind of data. With it, you can query and manipulate data by using a consistent model that is independent of data sources.

  • LINQ is another tool for embedding SQL queries into code.

  • LINQ is another data abstraction layer.

All these descriptions are correct to a degree, but each focuses on only a single aspect of LINQ. LINQ is much easier to use than a “uniform programming mode”; it can do much more than embed SQL queries; and it is far from being just another data abstraction layer.

What Is LINQ?

LINQ is a programming model that introduces queries as a first-class ...

Get Programming Microsoft® LINQ in Microsoft .NET Framework 4 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.