Chapter 15Introduction to LINQ

LINQ—Language-Integrated Query—is a new data-access feature that enables the querying of data sources from within the language itself. Typically in .NET, we use a technology such as ADO.NET to directly query a relational database management server, such as SQL Server or MySQL. LINQ is a new language construct that allows us to query relational data from different sources and interact with it just like any other object or class. With LINQ, we have access to compile-time syntax checking, the use of IntelliSense, and the ability to access other data sources such as XML or just about any custom data sources. There are many LINQ extensions, such as LINQ-to-SQL, LINQ-to-Sharepoint, LINQ-to-MySQL, LINQ-to-Entities, and ...

Get Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th 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.