FireDAC.Comp.BatchMove.DataSet.TFDBatchMoveDataSetDriver.Optimise

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Optimise: Boolean read FOptimise write FOptimise default True;

C++

__property bool Optimise = {read=FOptimise, write=FOptimise, default=1};

Properties

Type Visibility Source Unit Parent
property protected
FireDAC.Comp.BatchMove.DataSet.pas
FireDAC.Comp.BatchMove.DataSet.hpp
FireDAC.Comp.BatchMove.DataSet TFDBatchMoveDataSetDriver

Description

Use the Optimise property to setup the dataset for optimal reading / writing speed.

The Optimise property is set to True by default which prepares the dataset for optimal reading / writing speed on starting a data move operation. For that purpose TFDBatchMoveDataSetDriver modifies the dataset options.

Note: These options are not restored at the end of the data moving.

Optimise is only supported by FireDAC datasets and has no effect one non-FireDAC ones.

Set the Optimise property to False to allow the dataset content to be visualized using a visual component such as a TDBGrid.

See Also