示例#1
0
        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);
            }
        }
示例#2
0
 public void InitializeAndCheckDatabaseAsync()
 {
     base.BusyModel.DoWorkAsync(() => GlobalCommands.InitializeDatabase(true));
 }