OpenPetra
Free Administration Software for Non-Profits
Ict.Common.DB.TDataAdapterCanceller Class Reference

Provides a safe means to cancel the Fill operation of an associated DbDataAdapter. More...

Public Member Functions

void CancelFillOperation ()
 Call this Method to cancel the Fill operation of the associated DbDataAdapter. More...
 

Detailed Description

Provides a safe means to cancel the Fill operation of an associated DbDataAdapter.

Member Function Documentation

◆ CancelFillOperation()

void Ict.Common.DB.TDataAdapterCanceller.CancelFillOperation ( )
inline

Call this Method to cancel the Fill operation of the associated DbDataAdapter.

IMPORTANT: This Method MUST be called on a separate Thread as otherwise the cancellation will not work correctly (this is an implementation detail of ADO.NET!).


The documentation for this class was generated from the following file: