9.2. ADO.NET for OLE DB Programmers
Because there were a number of programmers that used OLE DB, especially since the introduction of the OLE DB consumer templates in Visual C++, it's instructive to compare native OLE DB types, interfaces, and methods to ADO.NET classes and interfaces. Let's investigate this, with a special emphasis on using the OleDb data provider. Similar information for provider writers can be found in Chapter 8.
9.2.1. Cotype Equivalents
The ADO.NET data provider classes are related to OLE DB as shown in Figure 9-1. OLE DB DataSource and Session are parallel to ADO.NET Connection. OLE DB Command is almost equivalent to ADO.NET Command. OLE DB Rowset functionality is a superset of ADO.NET DataReader, which exposes only streaming ...