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 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.