public void MySql_SprocWithParameter_Works() { IDatabaseConnection connection = GetConnection(); InitializeDatabase(connection); var repo = new MySqlIntegrationRepository(GetConnection()); Assert.AreEqual(143, repo.SprocWithParameter(143)); }
public void MySql_ManyManyTransactions_DoesntLeak() { IDatabaseConnection connection = GetConnection(); InitializeDatabase(connection); for (int ii = 0; ii < 1000; ii++) { var repo = new MySqlIntegrationRepository(GetConnection()); repo.SprocWithParameter(1); } }