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