Exemplo n.º 1
0
 public static IEnumerable <object[]> AllConnectionsWithoutSQLite(string section) => new[] {
     new object[] { (IConnectionManager)MariaDbConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)OracleConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)SqlConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)PostgresConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)MySqlConnection.ConnectionManager(section) },
 };
Exemplo n.º 2
0
 public static IEnumerable <object[]> AllSqlConnectionsWithValue(string section, int value) => new[] {
     new object[] { (IConnectionManager)MariaDbConnection.ConnectionManager(section), value },
     new object[] { (IConnectionManager)OracleConnection.ConnectionManager(section), value },
     new object[] { (IConnectionManager)SqlConnection.ConnectionManager(section), value },
     new object[] { (IConnectionManager)PostgresConnection.ConnectionManager(section), value },
     new object[] { (IConnectionManager)MySqlConnection.ConnectionManager(section), value },
     new object[] { (IConnectionManager)SQLiteConnection.ConnectionManager(section), value }
 };