FireDAC.Comp.DataSet.TFDDataSet.EndBatch

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure EndBatch;

C++

void __fastcall EndBatch();

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet


Beschreibung

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;

See Also