LiteDAC

TLiteConnectionOptions.ConnectMode Property

Used to specify the connection mode.

Class

TLiteConnectionOptions

Syntax

property ConnectMode: TConnectMode default DefValConnectMode;

Remarks

Use the ConnectMode property to specify the connection mode.

cmDefault - The default value. The database is opened for reading and writing. Corresponds to the SQLite default behavior.

cmReadOnly - The database is opened in read-only mode.

cmReadWrite - The database is opened for reading and writing.

Note that the ForceCreateDatabase property can be used to enable the automatic creation of the database when it doesn't already exist.

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