Datasnap.Provider.TSQLResolver.InitializeConflictBuffer
Delphi
procedure InitializeConflictBuffer(Tree: TUpdateTree); override;
C++
virtual void __fastcall InitializeConflictBuffer(TUpdateTree* Tree);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TSQLResolver |
Description
Introduces a method for adding information about a failed update that is passed to an OnUpdateError event handler.
Datasnap.Provider.TSQLResolver.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.