Bde.DBTables.TBDEDataSet.EnableConstraints
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: Bde.DBTables.pas Bde.DBTables.hpp
| |
| Unit: Bde.DBTables | |
| Parent: TBDEDataSet | |
Delphi
procedure EnableConstraints;
C++
void __fastcall EnableConstraints();
Description
Enables application of server constraints against dataset entries.
Call EnableConstraints to turn on application server constraints previously disabled by a call to DisableConstraints.
Note: Calling EnableConstraints decrements a reference count. When this reference count is zero constraints are enabled for the dataset. To prevent accidental disabling of constraints, always follow a call to DisableConstraints with a matching call to EnableConstraints.