FireDAC.Comp.BatchMove.TFDBatchMove.Execute

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
FireDAC.Comp.BatchMove.pas
FireDAC.Comp.BatchMove.hpp
Unit: FireDAC.Comp.BatchMove
Parent: TFDBatchMove

Delphi

function Execute: Integer;

C++

int __fastcall Execute();

Description

Executes the data movement between the reader and the writer.

After a call to Execute, the method resets to zero all the counters for statistical or data moving feedback purposes, such as ReadCount, DeleteCount and so on. Opens the reader and writer and performs data movement until the reader returns end-of-file.

Depending on the value of the Mode property of the TFDBatchMove the process adds, replaces or deletes records on the data destination. The records are moved in the transactions when CommitCount is bigger than 0.

See Also