Datasnap.Provider.TCustomResolver.InitializeConflictBuffer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InitializeConflictBuffer(Tree: TUpdateTree); virtual; abstract;

C++

virtual void __fastcall InitializeConflictBuffer(TUpdateTree* Tree) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TCustomResolver

Description

Introduces a method for adding information about a failed update that is passed to an OnUpdateError event handler.

The HandleUpdateError method calls InitializeConflictBuffer before generating an OnUpdateError event. This ensures that the client dataset passed to an OnUpdateError event handler represents the update that caused the problem, with appropriate values for field's CurValue property.

Descendants of TCustomResolver implement this method to obtain information from the dataset or server to which they are applying updates.

See Also