private Task <SQLiteTestDatabase> CreateShared()
        {
            _connection.Open();
            _transaction = _connection.BeginTransaction();

            return(Task.FromResult(this));
        }
Exemple #2
0
 public TestDatabase(string connectionString)
 {
     _connection = new Data.SQLite.SQLiteConnection(connectionString);
     _connection.Open();
     _transaction = _connection.BeginTransaction();
 }