COBinder Class Overview

class COBinder : public CRtnInfo

        OLE DB 2.5 introduces the use of a binder object to bind or create various OLEDB objects such as data source, session, command, rowset/view, row and stream with its two required interfaces IBindResource and ICreateRow. COBinder class in the OleDBPro module doesn't encapsulate the functionality of the two interfaces directly, but OleDBPro uses the two template functions BindObject<T> and CreateObject<T> to wrap all the functionality of the two interfaces for reduction of their associated functions.

        COBinder simply provides a few functions to open and close a binder object and set direct binding properties. For how to use it, see the example oledb25.

COBinder Class Members