예제 #1
0
 public static void Init(TestContext testContext)
 {
     DataAccessUtil.DatabasePath            = ":memory:";
     DataAccessUtil.UsePersistentConnection = true;
     DataAccessUtil.InitDatabase();
 }
예제 #2
0
 private static void InitDatabase() {
     // set this path to your Ingvilt install directory
     DataAccessUtil.DatabasePath = GetDefaultDatabasePath();
     DataAccessUtil.InitDatabase();
 }