API:Datasnap.Provider.TDataSetResolver.DoInsert
Delphi
procedure DoInsert(Tree: TUpdateTree); override;
C++
virtual void __fastcall DoInsert(TUpdateTree* Tree);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TDataSetResolver |
Description
Defines a method that inserts a record.
Datasnap.Provider.TDataSetResolver.DoInsert inherits from Datasnap.Provider.TCustomResolver.DoInsert. All content below this line refers to Datasnap.Provider.TCustomResolver.DoInsert.
Defines a method that inserts a record.
DoInsert is one of several helper methods internal to the ApplyUpdates method. These helper methods perform the actual updates in the delta packet. ApplyUpdates wraps the delta packet in a TUpdateTree object. For each record that must be inserted, the resolver calls DoInsert.
TCustomResolver does not implement the DoInsert method. Descendants override this method to insert records in their own specialized way.