Bde.DBTables.TDatabase.Temporary
Delphi
property Temporary: Boolean read FTemporary write FTemporary;
C++
__property bool Temporary = {read=FTemporary, write=FTemporary, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TDatabase |
Description
Indicates whether a database component is a temporary one, created by the system as needed, or a persistent one explicitly created, managed, and freed within the application.
Examine Temporary to determine if a database component is a temporary one, created by the system as needed, or a persistent one explicitly created, managed, and freed within the application. Temporary is true if the system created the component, false otherwise.
A temporary database component is created when a dataset is opened and the dataset is not already associated with an existing database component. If Temporary remains true, then a temporary database component is freed when the dataset is closed. An application can prevent the destruction of a temporary database component by setting Temporary to false while the dataset is active, but the application is then responsible for closing the database when it is no longer needed.