|
Class CBulkRecordParam<T> Overview template <class TOTable,
class TParamBase=CParamBase> CBulkRecordParam<T> handles a parameterized SQL select statement or a stored procedure, After a command is opened, the associated parameterized statement or stored procedure is prepared if a provider exposes interface ICommandPrepare. After setting a new set of parameters, you can call CBulkRecordParam<T>::GetBulkRecord to execute the parameterized statement or stored procedure again without closing its command. For how to use this template, see examples Scroll and MultiRecords. If you need a readonly rowset and reduce code size, you can declare a object like the following. CBulkRecordParam<CRBase > MyLightBulkRecordParam; |