API:SimpleDS.TSimpleDataSet.Constraints
Delphi
property Constraints: TCheckConstraints read FConstraints write SetConstraints stored ConstraintsStored;
C++
__property Constraints;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | SimpleDS.pas SimpleDS.hpp |
SimpleDS | TSimpleDataSet |
Description
Specifies record-level constraints that must be met when editing the data.
SimpleDS.TSimpleDataSet.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.