Datasnap.Provider.TSQLResolver.DoInsert

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

Delphi

procedure DoInsert(Tree: TUpdateTree); override;

C++

virtual void __fastcall DoInsert(TUpdateTree* Tree);

Description

Defines a method that inserts a record.

Datasnap.Provider.TSQLResolver.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.

See Also