Day 12. Using Data Adapters

On Day 1, “ADO.NET in Perspective,” you learned how ADO.NET was designed with modern distributed applications in mind. One of the primary architectures used in these types of applications entails the use of disconnected data. In this book, we've spent a great deal of time discussing the DataSet class and how it can be used to store and work with disconnected data. However, in enterprise applications, the most common source for, and the destination of, that data is a persistent store such as SQL Server or Oracle. The data adapter is the component of the .NET Data Provider that moves data into and out of the DataSet. Data adapters are classes implemented by the provider that typically derive from DbDataAdapter and inherit ...

Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.