Provider and Consumer Support for Row Objects

A provider that supports row objects indicates additional support by setting, in the DBPROP_OLEOBJECTS property, the flags described in the following table.

Flag

Support

DBPROPVAL_OO_ROWOBJECT

  • Row objects support the mandatory IRow, IGetSession, IColumnsInfo, and IConvertType interfaces.

  • Rowset objects support the IGetRow interface.

  • Providers that support direct binding support binding to row objects with IBindResource::Bind and optionally ICreateRow::CreateRow.

DBPROPVAL_OO_SINGLETON

  • ICommand::Execute and IOpenRowset::OpenRowset can return row objects.

  • The provider can choose to support the return of row objects by methods in other interfaces that traditionally return rowsets, such as IColumnsRowset, IViewRowset, and IDBSchemaRowset.

DBPROPVAL_OO_SCOPED

  • Row objects support the IScopedOperations interface.

This topic is a part of: