C H A P T E R  18

Using LINQ

Writing software means you need to have a database sitting on the back end, and most of your time goes into writing queries to retrieve and manipulate data. Whenever someone talks about data, we tend to think of the information that is contained in a relational database or in an XML document.

The kind of data access that we had prior to the release of .NET 3.5 was meant only for data that resides in traditional data sources like the two just mentioned. But with the release of .NET 3.5 and newer versions like .NET 4.0 and .NET 4.5, which have Language Integrated Query (LINQ) incorporated into them, it is now possible to deal with data residing beyond traditional information storage. For instance, you can query a ...

Get Beginning C# 5.0 Databases, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.