TurboDB VCL Component Library

TTdbForeignKeyDef.DeleteAction

TTdbForeignKeyDef

Previous  Top  Next

Defines the reaction of the database engine, when the parent row for a child row is deleted.

Delphi Syntax:

property DeleteAction: TTdbForeignKeyAction;

C++ Syntax:

__property TTdbForeignKeyAction DeleteAction = {read=GetDeleteAction, write=SetDeleteAction};

Description

When a row in the parent table is deleted, the action defined will be applied to all rows in the child table, which relate to the delete row in the parent table.

See also

TTdbForeignKeyAction