Skip to content

TProviderFlag

What to do with fields when applying updates.

Declaration

Source position: db.pas line 70

type
  TProviderFlag = (pfInUpdate,pfInWhere,pfInKey,pfHidden,
                 pfRefreshOnInsert,pfRefreshOnUpdate)

Values

Value Description
pfInUpdate Changes to the field should be propagated to the database.
pfInWhere Field should be used in the WHERE clause of an update statement in case of upWhereChanged.
pfInKey Field is a key field and used in the WHERE clause of an update statement.
pfHidden
pfRefreshOnInsert This field's value should be refreshed after insert.
pfRefreshOnUpdate This field's value should be refreshed after update.

Description

TProviderFlag describes how the field should be used when applying updates from a dataset to the database. Each field of a TDataset has one or more of these flags.

See also

Name Description
TProviderFlags Set of TProviderFlag flags.