예제 #1
0
        public async Task DisposeAsync()
        {
            DbCleaner.ClearDatabase(_connection, null, DatabaseType.MYSQL, "db");

            await _connection.CloseAsync();

            await mySql.StopAsync();
        }
예제 #2
0
        public async Task DisposeAsync()
        {
            DbCleaner.ClearDatabase(_connection, null, GetDbType(), "");

            await _connection.CloseAsync();

            await _msSql.StopAsync();
        }
예제 #3
0
 protected override void CleanDb(List <string> tablesToSkip)
 {
     DbCleaner.ClearDatabase(_connection, tablesToSkip, GetDbType());
 }