Connected Data Access
The ADO.NET Framework encompasses a huge number of classes. However, at its heart, it actually consists of the following three classes:
• Connection
—
Enables you to represent a connection to a data source.
• Command
—
Enables you to execute a command against a data source.
• DataReader
—
Enables you to represent data retrieved from a data source.
Most of the other classes in ADO.NET Framework are built from these three classes. These three classes provide you with the fundamental methods of working with database data. They enable you to connect to a database, execute commands against a database, and represent the data returned from a database.
Now that you understand the importance of these three classes, it’s safe to tell ...
Get ASP.NET 4 Unleashed 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.