Esempio n. 1
0
 private void SaveInfo()
 {
     try
     {
         SmallDBService.SaveDB();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
Esempio n. 2
0
 private void CheckDB()
 {
     if (!File.Exists(SmallDBService.DeviceDBFile))
     {
         SmallDBService.CreateDB();
         CreateDBSchemas();
         SmallDBService.SaveDB();
     }
     else
     {
         SmallDBService.LoadDB();
     }
 }