MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 8: Binder Objects and Direct Binding
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 chapter discusses binder objects and their use in direct binding.
For more information on | Go to |
Row and stream objects | Chapter 9, "Row and Stream Objects" |
Binder objects | "Binder Objects" in this chapter |
Root binder object | "Root Binder Object" in this chapter |
Provider binder objects | "Provider Binder Objects" in this chapter |
Direct binding | "Direct Binding" in this chapter |
How to support direct binding | "Provider and Consumer Support for Direct Binding" in this chapter |
Inheritance of bind options | "Inheritance of Bind Options" in this chapter |