CreateConnection() public static méthode

public static CreateConnection ( ) : MySqlConnection
Résultat MySql.Data.MySqlClient.MySqlConnection
 public CountersAggregatorTests()
 {
     _connection = ConnectionUtils.CreateConnection();
     _storage    = new MySqlStorage(_connection);
     _sut        = new CountersAggregator(_storage, TimeSpan.Zero);
 }
Exemple #2
0
 private MySqlConnection CreateConnection()
 {
     return(ConnectionUtils.CreateConnection());
 }