共用方式為


IRowsetChangeImpl 類別

IRowsetChange 介面的 OLE DB 樣板實作 OLE DB 規格。

template <
   class T, 
   class Storage, 
   class BaseInterface = IRowsetChange, 
   class RowClass = CSimpleRow, 
   class MapClass = CAtlMap < RowClass::KeyType, RowClass* > 
>
class ATL_NO_VTABLE IRowsetChangeImpl : public BaseInterface

參數

  • T
    衍生自 IRowsetChangeImpl 的類別。

  • Storage
    使用者資料錄

  • BaseInterface
    介面的基底實作,像是IRowsetChange

  • RowClass
    資料列控制代碼的儲存格。

  • MapClass
    由提供者保留的所有資料列控制代碼的儲存單位。

成員

介面方法 (使用 IRowsetChange)

DeleteRows

刪除列集合中的列。

InsertRow

將資料列插入至資料列集。

SetData

一個或多個資料行中設定資料值。

實作方法 (回呼)

FlushData

由做資料提供者的 Overidden 對它的存放區。

備註

這個介面會直接寫入作業負責資料存放區。「直接」是表示使用者 (使用消費者) 的人做任何變更,這些變更立即傳送至資料存放區 (和無法取消)。

IRowsetChangeImpl 實作 OLE DB IRowsetChange 介面,以便在現有資料列中,刪除資料行和插入新資料列的更新資料行的值。

OLE DB 樣板實作支援任何基底方法 (SetDataInsertRowDeleteRows)。

重要

強烈建議您先實作提供者閱讀下列文件:

需求

Header: atldb.h

請參閱

概念

OLE DB 提供者樣板 (C++)

OLE DB 提供者樣板架構