Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

OLE DB Architecture

The OLE DB architecture defines two basic classes of applications, although there can be a wide range of different sorts of applications in each class, ranging from the most primitive to the very complex RDBMS systems:

Providers are applications that expose data sources in a tabular format. OLE DB providers expose the rowset COM interfaces of OLE DB and can range from simple providers that expose a single table of data to more complicated, distributed database or Online Analytical Processing (OLAP) systems. The most popular provider is the ODBC OLE DB provider. This provider accesses ODBC data through an OLE DB provider, enabling ODBC data sources to be used in an OLE DB application.

Consumers are applications that use the OLE DB interfaces to manipulate the data stored in a data provider. User applications, such as the ones developed in this chapter, fall into the consumer class.

Figure 22.1 shows how the classes of OLE DB applications fit together to make up the OLE DB architecture.

22fig01.gif

Figure 22.1 OLE DB architecture.

Share ThisShare This

Informit Network