Пример #1
0
 public ViewModel(ISQLitePlatform litePlatform, string databasePath, bool fileExists)
 {
     if (fileExists)
     {
         HelperDatabase.ConnectionToDataBase(ref connection, litePlatform, databasePath);
     }
     else
     {
         HelperDatabase.CreateDataBase(ref connection, litePlatform, databasePath);
     }
 }