Data.DB.TFieldsAutoCreationMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFieldsAutoCreationMode = (acExclusive, acCombineComputed, acCombineAlways);

C++

enum DECLSPEC_DENUM TFieldsAutoCreationMode : unsigned char { acExclusive, acCombineComputed, acCombineAlways };

Properties

Type Visibility Source Unit Parent
enum public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB


Description

Enumerates the behaviors for creating the automatic fields.

Data.DB.TFieldsAutoCreationMode has the following values:

Value Meaning

acExclusive

When there are no persistent fields at all, then automatic fields are created. This is the default mode.

acCombineComputed

The automatic fields are created when the dataset has no persistent fields or there are only calculated persistent fields. This is a convenient way to create the persistent calculated fields at design time and let the dataset create automatic data fields.

acCombineAlways

Automatic fields for the database fields will be created when there are no persistent fields.

See Also