Datasnap.Provider.TCustomProvider.DoBeforeApplyUpdates
Delphi
procedure DoBeforeApplyUpdates(var OwnerData: OleVariant); virtual;
C++
virtual void __fastcall DoBeforeApplyUpdates(System::OleVariant &OwnerData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TCustomProvider |
Description
Generates a BeforeApplyUpdates event.
The ApplyUpdates method calls DoBeforeApplyUpdates to generate the BeforeApplyUpdates event before it applies the updates in Delta.
Delta is the delta packet containing the updates as received from the client.
MaxErrors is the number of errors tolerated before the update operation should aborted.
OwnerData supplies custom information to the BeforeApplyUpdates event handler. The BeforeApplyUpdates event handler can change this value. The returned value is then passed to the AfterApplyUpdates event handler after applying the updates in Delta.
As implemented in TCustomProvider, Delta and MaxErrors are ignored.