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.4. ADO.NET for ADO Programmers

ADO exposes a rich subset of the OLE DB model, so many of the comparisons we've already made to OLE DB programming also apply to ADO. However, because ADO exposes only a subset of OLE DB, ADO.NET goes beyond ADO in some areas. ADO always uses all OLE DB services by default and hides the client cursor engine as an option of Recordset.

9.4.1. Class Equivalences

The ADO.NET object model will be familiar to ADO programmers because the names and functionality of some of the classes correspond:

  • ADO Connection to ADO.NET Connection

  • ADO Command to ADO.NET Command

  • ADO Recordset (default cursor type and location) to ADO.NET Data-Reader

Table 9-1 shows equivalents between the ADO and ADO.NET data models.

Table 9-1. Mapping ...

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