Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The diagram in Figure 24-1 shows the basic classes in ADO.NET. Note that this is not an inheritance diagram but rather shows the relationships between the most commonly used classes.
Here the classes are divided into .NET data provider objects and consumer objects.
The provider objects require an active connection. You use these first to read the data, then depending on your needs, you may work with the data in memory using the consumer objects. You can also update the data in the data source using the provider objects to write the changes back to the data source. Thus, the consumer objects operate in a disconnected fashion; you can work with the data in memory even if the database connection is down.