Querying Datasets with LINQ
LINQ to DataSets is the standard LINQ provider for querying datasets and is offered by the System.DataSet.DataSet Extensions namespace. Querying means that LINQ can only get information for datasets but not for manipulating them. If you need to add, remove, replace, or persist data versus datasets, you need to use old-fashioned techniques. Instead you can improve getting information using LINQ. Generally you use datasets in Windows or Web applications. This chapter shows you code within a Console application. This is because we need a high level of abstraction so that all the code you see here can be used in both Windows and Web applications (except for Silverlight applications that do not support datasets). To complete ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access