Data.DB.TCheckConstraints.Add
Delphi
function Add: TCheckConstraint;
C++
HIDESBASE TCheckConstraint* __fastcall Add(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DB.pas Data.DB.hpp |
Data.DB | TCheckConstraints |
Description
Adds a check constraint to the list maintained by this collection object.
Call Add to add another check constraint to those known to the dataset component that owns this check constraint object. After adding a check constraint, set its properties to provide the SQL that defines the constraint.