LiteDAC

TLiteConnectionOptions.ForeignKeys Property

Used to enable or disable foreign key constraints.

Class

TLiteConnectionOptions

Syntax

property ForeignKeys: boolean default True;

Remarks

By default, foreign key constraints are disabled in SQLite. Use the ForeignKeys property to enable or disable foreign keys constraints without explicitly executing the "PRAGMA foreign_keys = ON;" and "PRAGMA foreign_keys = OFF;" statements. The default value if True.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback