EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TEasySession.KeepConnections
TEasySession
Top 

Specifies whether or not a temporary database component created in the context of a session maintains a database file connection even if there are no active datasets associated with the database component.

property KeepConnections: Boolean;

Description

Use KeepConnections to specify whether or not temporary database components created at runtime maintain database connections even when they have no active datasets. If KeepConnections is True (the default), the application maintains database connections until the application exits or calls the DropConnections method.

When KeepConnections is False, an application disconnects from a database when all datasets associated with a database component are closed. Dropping a connection releases system resources allocated to the connection, but if a dataset is later reopened that uses the same database, the connection must be reestablished and initialized.


© AidAim Software EasyTable: Easytable Single-file Embedded Database Bde Replacement Delphi C\+\+builde