Icon Temporary Property

property Temporary: Boolean

The Temporary property indicates whether a TEDBDatabase component is temporary and created by ElevateDB as needed, or persistent and explicitly created, managed, and freed within the application. A temporary TEDBDatabase component is created when a dataset is opened and the dataset is not already linked with an existing TEDBDatabase component via its DatabaseName property. If Temporary remains True, then a temporary TEDBDatabase component is freed when the dataset is closed. An application can prevent the destruction of a temporary TEDBDatabase component by setting Temporary to False while the dataset is active, but the application is then responsible for closing the TEDBDatabase component when it is no longer needed.

Information A "dataset" is a TEDBTable, TEDBQuery, or TEDBStoredProc component, all of which descend from the TEDBDBDataSet component.
Image