Datasnap.Provider.TDataSetResolver.InitializeConflictBuffer

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: TDataSetResolver

Delphi

procedure InitializeConflictBuffer(Tree: TUpdateTree); override;

C++

virtual void __fastcall InitializeConflictBuffer(TUpdateTree* Tree);

Description

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

Datasnap.Provider.TDataSetResolver.InitializeConflictBuffer inherits from Datasnap.Provider.TCustomResolver.InitializeConflictBuffer. All content below this line refers to Datasnap.Provider.TCustomResolver.InitializeConflictBuffer.

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