Sign in Join
FPDoc Onlineexperiment

TCheckConstraint.CustomConstraint property

Member of TCheckConstraintpublishedIn unit DB

User-defined constraint.

Declaration

pascal
property CustomConstraint: string read FCustomConstraint write FCustomConstraint;

Description

CustomConstraint is an SQL expression with an additional user-defined constraint. The expression should be enforced by a TDataset descendent when data is posted to the dataset. If the constraint is violated, then the dataset should raise an exception, with message as specified in ErrorMessage

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.