Поделиться через


IRowsetUpdateImpl Class

The OLE DB Templates implementation of the IRowsetUpdate interface.

template <
   class T, 
   class Storage, 
   class UpdateArray = CAtlArray<Storage>, 
   class RowClass = CSimpleRow, 
   class MapClass = CAtlMap <RowClass::KeyType, RowClass*> 
>
class IRowsetUpdateImpl : public IRowsetChangeImpl<
      T, 
      Storage, 
   IRowsetUpdate, 
      RowClass, 
      MapClass
>

Параметры

  • T
    A class derived from IRowsetUpdateImpl.

  • Storage
    The user record.

  • UpdateArray
    An array containing cached data for updating the rowset.

  • RowClass
    The storage unit for the HROW.

  • MapClass
    The storage unit for all row handles held by the provider.

Заметки

You should first read and understand the documentation for IRowsetChange, because everything described there also applies here. You should also read chapter 6 of the OLEDBProgrammer'sReference on setting data.

IRowsetUpdateImpl implements the OLE DB IRowsetUpdate interface, which enables consumers to delay the transmission of changes made with IRowsetChange to the data source and undo changes before transmission.

Важное примечаниеВажное примечание.

It is strongly recommended that you read the following documentation BEFORE attempting to implement your provider:

Требования

Header: atldb.h

См. также

Основные понятия

IRowsetUpdateImpl Members

OLE DB Provider Templates (C++)

The OLE DB Provider Template Architecture

Creating an Updatable Provider