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