Skip to main content

LINQ to DataSet

  • Chapter
Book cover Introducing Visual C# 2010
  • 1686 Accesses

Abstract

In this chapter, we looked at the DataSet class and its relationship with LINQ. If you want some of the convenience of a managed data environment but don’t want the overhead of the Entity Framework, then the DataSet functionality may be of use, especially given the support for in-memory queries that comes with LINQ to DataSet.

When using DataSet, you have to be much more aware of the structure and content of the database than when using an entity model, but in return you gain finer-grained control over the operations and queries that are performed. The approach that a project demands will depend on individual circumstances, but as you have seen from this and the preceding chapter, C# and .NET give you a lot of flexibility when it comes to working with databases.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Adam Freeman

About this chapter

Cite this chapter

Freeman, A. (2010). LINQ to DataSet. In: Introducing Visual C# 2010. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3172-1_31

Download citation

Publish with us

Policies and ethics