FireDAC.Comp.Client.TFDGetDatasetEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TFDGetDatasetEvent)(System::TObject* ASender, const System::UnicodeString ASchemaName, const System::UnicodeString AName, Data::Db::TDataSet* &ADataSet, bool &AOwned);

Properties

Type Visibility Source Unit Parent
typedef public FireDAC.Comp.Client.hpp FireDAC.Comp.Client FireDAC.Comp.Client

Description

TFDGetDatasetEvent is the function type for an OnGetDataSet event.

TFDGetDatasetEvent has the following parameters:

Parameter Meaning

ASender

The reference to the dataset.

AName

The dataset name.

ADataSet

The dataset that the event handler returns.

AAdapter

The Dataset adapter that the event handler returns. The event handler must return ADataSet, AAdapter, or both arguments assigned.
For FireDAC datasets, only ADataSet can be assigned. For non-FireDAC datasets, we recommend that you assign both arguments.

See Also