RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TProviderFlag Enumeration

TProviderFlag and TProviderFlags indicate how a provider uses a field value when applying updates.

Pascal
TProviderFlag = (
  pfInUpdate,
  pfInWhere,
  pfInKey,
  pfHidden
);
C++
enum TProviderFlag {
  pfInUpdate,
  pfInWhere,
  pfInKey,
  pfHidden
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!