FireDAC.Comp.BatchMove.TFDBatchMove.Execute
Delphi
function Execute: Integer;
C++
int __fastcall Execute();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Comp.BatchMove.pas FireDAC.Comp.BatchMove.hpp |
FireDAC.Comp.BatchMove | TFDBatchMove |
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
.