Sign in Join
FPDoc Onlineexperiment

TProviderFlag enumeration

In unit DB

What to do with fields when applying updates.

Declaration

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

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

Values

pfInUpdateChanges to the field should be propagated to the database.
pfInWhereField should be used in the WHERE clause of an update statement in case of upWhereChanged.
pfInKeyField is a key field and used in the WHERE clause of an update statement.
pfHidden
pfRefreshOnInsertThis field's value should be refreshed after insert.
pfRefreshOnUpdateThis field's value should be refreshed after update.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.