API:FireDAC.Comp.DataSet.TFDDataSet.Constraints
Delphi
property Constraints: TCheckConstraints read FConstraints write SetConstraints stored IsCS;
C++
__property Constraints = {stored=IsCS};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Description
Specifies record-level constraints that must be met when editing the data.
FireDAC.Comp.DataSet.TFDDataSet.Constraints inherits from Data.DB.TDataSet.Constraints. All content below this line refers to Data.DB.TDataSet.Constraints.
Specifies record-level constraints that must be met when editing the data.
Use Constraints to read or add record-level constraints to the dataset. Record-level constraints usually impose relationships between the fields in a single record. Constraints that limit the value of a single field should be added to the individual field components.