FireDAC.Comp.DataSet.TFDDataSet.EndBatch
From RAD Studio API Documentation
Delphi
procedure EndBatch;
C++
void __fastcall EndBatch(void);
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Description
Restores regular dataset functionality after batch updates.
Use the EndBatch method to re-enable regular dataset processing as it was before the BeginBatch call.
Example
FDQuery1.BeginBatch; try FDQuery1.AppendRecord([...]); FDQuery1.AppendRecord([...]); FDQuery1.AppendRecord([...]); ...... finally FDQuery1.EndBatch; end;