AnyDAC
ContentsIndexHome
PreviousUpNext
TADSQLiteBackup.DatabaseObj Property

A source database object.

Group
Links

Use the DatabaseObj property to specify the source SQLite database object of an API wrapping class. The object may be obtained from the TADConnection.CliObj property. There ADConnection must be connected to a SQLite database. 

Note, when a source database is an in-memory database then DatabaseObj must be used instead of Database property.

property DatabaseObj: TSQLiteDatabase;
ADSQLiteBackup1.DatabaseObj := ADConnection1.CliObj;
ADSQLiteBackup1.DestDatabase := 'c:\backup.sdb';
ADSQLiteBackup1.Backup;
What do you think about this topic? Send feedback!