Datasnap.Provider.TBeforeCommitEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: Datasnap.Provider

Delphi

TBeforeCommitEvent = procedure(Sender:TObject; DeltaDS: TCustomClientDataSet;
ErrorCount, MaxErrors: Integer; const ResultVar: OleVariant) of object;

C++

typedef void __fastcall (__closure *TBeforeCommitEvent)(System::TObject* Sender, Datasnap::Dbclient::TCustomClientDataSet* DeltaDS, int ErrorCount, int MaxErrors, const System::OleVariant &ResultVar);

Description

TBeforeCommitEvent represents the procedure type for the events that occur before committing a dataset.

A variable of TBeforeCommitEvent type references an event that occurs before the associated resolver commits the changes to the dataset.

See Also