示例#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) },
 };
示例#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 }
 };
示例#3
0
 public static IEnumerable <object[]> AllSqlConnections(string section) => new[] {
     new object[] { (IConnectionManager)SqlConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)PostgresConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)MySqlConnection.ConnectionManager(section) },
     new object[] { (IConnectionManager)SQLiteConnection.ConnectionManager(section) },
 };