O'Reilly logo

Programming Microsoft® LINQ in Microsoft .NET Framework 4 by Paolo Pialorsi and Marco Russo

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 11. LINQ to DataSet

The Microsoft .NET Framework native type System.Data.DataSet is an in-memory representation of a set of data. It is useful for getting a disconnected copy of data that comes from an external data source. Regardless of the data source, the internal representation of a DataSet follows the relational model, including tables, constraints, and relationships among the tables. In other words, you can consider the DataSet as a sort of in-memory relational database, which makes it a good target for a Microsoft Language Integrated Query (LINQ) implementation. In this chapter, you will see how LINQ can be used with a DataSet, to both query and populate it.

Introducing LINQ to DataSet

Because a DataSet is an in-memory set of objects, ...

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