Datasnap.Provider.TCustomProvider.DoAfterGetRecords
Delphi
procedure DoAfterGetRecords(var OwnerData: OleVariant); virtual;
C++
virtual void __fastcall DoAfterGetRecords(System::OleVariant &OwnerData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TCustomProvider |
Description
Generates an AfterGetRecords event.
The GetRecords method calls DoAfterGetRecords to generate the AfterGetRecords event after assembling a data packet but before updating the parameters to reflect any output parameters.
OwnerData supplies custom information to the AfterGetRecords event handler. This is the same as the outgoing OwnerData parameter of the BeforeGetRecords event handler. The AfterGetRecords event handler can change this value. The returned value is then passed to the client.