Data.DB.TProviderFlag
Delphi
TProviderFlag = (pfInUpdate, pfInWhere, pfInKey, pfHidden);
C++
enum DECLSPEC_DENUM TProviderFlag : unsigned char { pfInUpdate, pfInWhere, pfInKey, pfHidden };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TProviderFlag and TProviderFlags indicate how a provider uses a field value when applying updates.
TProviderFlags is a set of TProviderFlag values. The following table lists the TProviderFlag values:
Value | Meaning |
---|---|
pfInUpdate |
The field can be included in UPDATE statements. (That is, it can be modified) |
pfInWhere |
The field is included in the WHERE clause when the provider's UpdateMode is upWhereAll or upWhereChanged. |
pfInKey |
The field is included in the WHERE clause when the provider's UpdateMode is upWhereKeyOnly. |
pfHidden |
The field is included in data packets to ensure the uniqueness of records so that they can be correctly updated. It can't be seen or used by the receiving client dataset. |