예제 #1
0
 public void CreateDatabase()
 {
     //dbPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), dbName+".db3");
     db              = new EventSQLiteAsyncConnection(dbPath);
     db.AfterInsert += Db_AfterInsert;
     db.AfterUpdate += Db_AfterUpdate;
 }
예제 #2
0
 public void DropDatabase()
 {
     db = null;
     if (File.Exists(dbPath))
     {
         File.Delete(dbPath);
     }
     Complete = false;
 }