|
AnyDAC
|
A destination database object.
Use the DestDatabaseObj property to specify the destination 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 destination database is an in-memory database then DestDatabaseObj must be used instead of DestDatabase property.
property DestDatabaseObj: TSQLiteDatabase;
ADSQLiteBackup1.Database := 'c:\db.sdb'; ADSQLiteBackup1.DestDatabaseObj := ADConnection1.CliObj; ADSQLiteBackup1.Backup;
|
What do you think about this topic? Send feedback!
|