samedi 28 février 2015

Replace an sqlite databse from another C#

In my project I have one SqlCypher Database say A.db and which is used by the app.


At some point I will get latest data which I have in another SqlCypher db, say B.db.


Both databases has identical structure (tables).


Now how can I replace the entire data of Database A from Database B. All the table name and structure are same.


How can I achieve this using any Query?, or Should I go for a StreamReader..


It is a Xamarin Project which uses ORMLite.


Aucun commentaire:

Enregistrer un commentaire