public void SyncToDb(string replicaDB) { using (var replicaDBConnection = new SQLiteConnection(replicaDB, storeDateTimeAsTicks: true)) { var dbSync = new DBSync(replicaDBConnection); dbSync.SyncOneWay(dbPath, tablesToSync); } }
public void SyncFromDb(string replicaDB) { var dbSync = new DBSync(dbConnection); dbSync.SyncOneWay(replicaDB, tablesToSync); }