FireDAC.Comp.BatchMove.DataSet.TFDBatchMoveDataSetWriter.DataSet

From RAD Studio API Documentation

Delphi

property DataSet: TDataSet read FDataSet write SetDataSet;

C++

__property DataSet;

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.BatchMove.DataSet.pas
FireDAC.Comp.BatchMove.DataSet.hpp
FireDAC.Comp.BatchMove.DataSet TFDBatchMoveDataSetWriter

Description

Use the DataSet property to specify the source or the destination dataset. {{#multireplace:FireDAC.Comp.BatchMove.DataSet.TFDBatchMoveDataSetWriter.DataSet|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FireDAC.Comp.BatchMove.DataSet.TFDBatchMoveDataSetDriver.DataSet|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FireDAC.Comp.BatchMove.DataSet.TFDBatchMoveDataSetDriver.DataSet|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Use the DataSet property to specify the source or the destination dataset.

You can use a dataset of any class descendend from TDataSet. TFDBatchMoveDataSetDriver offers additional features for the following dataset classes:

  • TFDAdaptedDataSet is the base class for most FireDAC datasets, including TFDQuery, TFDTable, TFDStoredProc, TFDMemTable. TFDBatchMove for these datasets:
    • supports TFDBatchMove.AbortJob method;
    • offers improved support for auto-incremental fields;
    • setups dataset for optimal reading / writing speed when TFDBatchMoveDataSetDriver.Optimise is True;
    • creates a destination DB table for TFDTable when poCreateDest is included into TFDBatchMove.Options;
    • supports direct write operations when TFDBatchMoveDataSetWriter.Direct is True.
  • TFDMemTable:
    • at the beginning of the data moving a writer creates the in-memory table if it is not active;
    • at the end of the data moving a writer leaves in-memory table open.
  • classes supporting IProviderSupportNG interface:
    • support transaction control;
    • support obtaining of list of indexes;
    • support obtaining the source DB table name.

See Also