Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TProviderFlag

What to do with fields when applying updates.

Declaration

Source position: db.pas line 70

type TProviderFlag = (

  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

TProviderFlags

  

Set of TProviderFlag flags.


Documentation generated on: Dec 22 2024