Professional Documents
Culture Documents
1 of 2
http://www.books24x7.com/assetviewer.aspx?bookid=41223&chunkid...
Recommend?
5/2/2013 8:02 AM
Pro C# 2010 and the .NET 4 Platform, Fifth Edition, Updated - Books24x7
2 of 2
http://www.books24x7.com/assetviewer.aspx?bookid=41223&chunkid...
object, the connection is automatically opened and closed on your behalf. As you would guess, this approach helps free up connections
for other callers quickly and goes a long way toward increasing the scalability of your systems.
Once a caller receives a DataSet, it is able to traverse and manipulate the contents without incurring the cost of network traffic. Also, if
the caller wishes to submit the changes back to the data store, the data adapter (in conjunction with a set of SQL statements) is used to
update the data source; at this point the connection is reopened for the database updates to occur, and then closed again immediately.
With the release of .NET 3.5 SP1, ADO.NET was enhanced to support a new API termed the Entity Framework (or simply, EF). Using
EF, you will find that many of the low-level database specifics (such as complex SQL queries) are hidden from view and authored on your
behalf when you generate a fitting LINQ query (e.g., LINQ to Entities). You will examine this aspect of ADO.NET in Chapter 23.
Use of content on this site is expressly subject to the restrictions set forth in the Membership Agreement.
Books24x7 and Referenceware are registered trademarks of Books24x7, Inc.
Copyright 1999-2013Books24x7, Inc. - Feedback | Privacy Policy (updated 03/2005)
RSS feed
5/2/2013 8:02 AM