Bde.DBTables.TBDEDataSet.EnableConstraints

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EnableConstraints;

C++

void __fastcall EnableConstraints();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBDEDataSet

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.

See Also