Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

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;


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.
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 23, 2024