CCommand
template <class TAccessor = CNoAccessor, class TRowset = CRowset, class TMultiple = CNoMultiple>
class CCommand : public CAccessorRowset<TAccessor, TRowset**>, public CCommandBase**
Parameters
TAccessor
An accessor class.
TRowset
A rowset class.
TMultiple
To use an OLE DB command that can return multiple results, specify CMultipleResults. Otherwise, use CNoMultipleResults. For details, see .
This class provides methods to set and execute a command. Use this class when you need to perform a parameter-based operation or execute a command. If you merely need to open a simple rowset, use CTable instead.
The accessor class you are using determines the method of binding parameters and data.
#include <atldbcli.h>
See Also
Using the OLE DB Consumer Templates, Consumer Architecture Chart