private void OnRestoreCompleted(string message) { if (!string.IsNullOrEmpty(message)) { // restore successfully // initial database again in case the database was restored to a old schema. GlobalCommands.InitializeDatabase(true); } }
public void InitializeAndCheckDatabaseAsync() { base.BusyModel.DoWorkAsync(() => GlobalCommands.InitializeDatabase(true)); }