FireDAC.Stan.Option.TFDRefreshMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFDRefreshMode = (rmManual, rmOnDemand, rmAll);

C++

enum DECLSPEC_DENUM TFDRefreshMode : unsigned int { rmManual, rmOnDemand, rmAll };

Properties

Type Visibility Source Unit Parent
enum public
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option FireDAC.Stan.Option

Description

Specifies the values used to control how the dataset should refresh a record after posting an update (insert / update) to it.

The following table lists modes and their meaning in case of automatic command generation:

Name Description
rmManual

Do not automatically refresh the record. The application should call TFDDataSet.RefreshRecord to refresh the record.

rmOnDemand Automatically refresh record fields:
  • After inserting, if they are auto-incremental, calculated, have default values, contain ROWID, contain a row version. Or TField.AutoGenerateValue <> arNone.
  • After updating, if they are calculated or contain a row version.
rmAll

Automatically refresh all record fields.

See Also