AddDMLCacheItem method

Applies to
TIB_Transaction

Declaration
Procedure AddDMLCacheItem(AConnection: TIB_Connection; ADataset: TIB_Dataset; AKeyFieldNames: string; AKeyFieldValues: variant; ADMLItemType: TIB_DMLCacheItemType );

Description
This method is used to add a DML cache item to the list so that when the transaction is committed it will announce these changes to other transactions in the same connection that have an isolation of tiCommitted.

This is done automatically if you set the appropriate announce DML cache flags in the dataset. If you need some behavior that is different than the default behavior then calling this method can be done from the OnDMLCacheAnnounceItem event.