FireDAC.Phys.SQLite.TFDSQLiteBackup.DestDatabaseObj
Delphi
property DestDatabaseObj: TSQLiteDatabase read FDestDatabaseObj write SetDestDatabaseObj;
C++
__property Firedac::Phys::Sqlitewrapper::TSQLiteDatabase* DestDatabaseObj = {read=FDestDatabaseObj, write=SetDestDatabaseObj};
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FireDAC.Phys.SQLite.pas FireDAC.Phys.SQLite.hpp |
FireDAC.Phys.SQLite | TFDSQLiteBackup |
Description
An object of the destination database.
Use the DestDatabaseObj property to specify the object of the SQLite destination database of an API wrapping class. The object may be obtained from the TFDConnection.CliObj property. The FDConnection must be connected to a SQLite database.
Note: When a destination database is an in-memory database then DestDatabaseObj must be used instead of the DestDatabase property.
Example
FDSQLiteBackup1.Database := 'c:\db.sdb'; FDSQLiteBackup1.DestDatabaseObj := FDConnection1.CliObj; FDSQLiteBackup1.Backup;