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