Data.DB.TObjectField.GetHasConstraints
Delphi
function GetHasConstraints: Boolean; override;
C++
virtual bool __fastcall GetHasConstraints(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TObjectField |
Description
Returns whether the value of this field is constrained or the values of the owned fields are constrained.
GetHasConstraints returns True if this field has constraints or any of the owned field has constraints.
The value of a field is constrained if any of the following field properties are set: