Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following figure shows the three classes that support connecting to and accessing a data source. Each class is based on a standard OLE DB component implementation, as described in the .
The classes are:
CDataSource Represents the data source component. It manages the connection to a data source.
CEnumerator Provides a way to select a provider from a list of available providers. It is equivalent to the SQLBrowseConnect or SQLDriverConnect function.
CSession Handles transactions. For each session, you can create rowsets, commands, and other objects.