Datasnap.Provider.TCustomProvider.DoAfterGetRecords

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TCustomProvider

Delphi

procedure DoAfterGetRecords(var OwnerData: OleVariant); virtual;

C++

virtual void __fastcall DoAfterGetRecords(System::OleVariant &OwnerData);

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.

See Also