Data.DB.TCheckConstraints.Add

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TCheckConstraints

Delphi

function Add: TCheckConstraint;

C++

HIDESBASE TCheckConstraint* __fastcall Add();

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.

See Also