LiteDAC

TLiteConnection.Database Property

Used to specify the name of the database to be used once a connection is open.

Class

TLiteConnection

Syntax

property Database: string;

Remarks

Use the Database property to specify the name of the database to be used once a connection is open.

If the Database property points to an existent database, the database will be opened.

If the Database property points to a non-existent database in a correct system path, further behavior depends on the value of the TLiteConnectionOptions.ForceCreateDatabase property.

If the Database property is set to ":memory:", a new temporary in-memory database will be created and opened.

If the Database property is empty, a new temporary on-disk database will be created and opened.

See Also

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