O'Reilly logo

Essential ADO.NET by Bob Beauchemin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required