Compartir a través de


Binder Objects and Direct Binding (OLE DB)

OLE DB 2.5 introduces the use of Uniform Resource Locators (URLs) as an alternative to connection strings and command text for specifying data stores and the location of files, directories, and tables. URLs can be used to specify row, stream, rowset, data source, and session objects.

The process of associating an OLE DB object with a resource named by a URL is called direct binding. Direct binding is performed by the root binder and provider binder objects. With direct binding, OLE DB applications can bind URL names to OLE DB objects without having to know which provider services the object.

Direct binding makes it possible to create consumer applications that can access multiple providers based on the URLs of resources to be bound to row and rowset objects. Such consumers do not need to instantiate data source objects and session objects. They do not even have to know which provider "owns" the URL of the resource to be bound.

This section discusses binder objects and their use in direct binding.

For more information on

Go to

Row and stream objects

Row and Stream Objects (OLE DB)

Binder objects

Binder Objects

Root binder object

Root Binder Object

Provider binder objects

Provider Binder Objects (OLE DB)

Direct binding

Direct Binding

How to support direct binding

Provider and Consumer Support for Direct Binding

Inheritance of bind options

Inheritance of Bind Options

This section contains the following topics: