FireDAC.Comp.BatchMove.DataSet.TFDBatchMoveDataSetWriter.Direct
Delphi
property Direct: Boolean read FDirect write FDirect default False;
C++
__property bool Direct = {read=FDirect, write=FDirect, default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FireDAC.Comp.BatchMove.DataSet.pas FireDAC.Comp.BatchMove.DataSet.hpp |
FireDAC.Comp.BatchMove.DataSet | TFDBatchMoveDataSetWriter |
Description
Set the Direct property to True to use the internal FireDAC API for writing operations.
The FireDAC API does not call the dataset Append / Edit / Post methods, consequently no dataset events are called, etc. The FireDAC API is supported only by FireDAC datasets. For non-FireDAC datasets setting the Direct property to True has no effect.
When the Direct property is set to False, the TFDBatchMoveDataSetWriter uses the classic TDataSet API which implements the dataset Append / Edit / Post methods.