[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
What to do with fields when applying updates
Source position: db.pas line 64
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. |
); |
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.
|
Set of TProviderFlag flags |