public DbConnection Create(DbConnection db = null) { if (db != null) { return(new SqlFuConnection(_provider, db, SqlFuManager.Config.TransientErrorsStrategyFactory)); } return(SqlFuManager.OpenConnection(_provider, _connectionString)); }
public DbConnection Create(DbConnection db = null) { if (db != null) { return(new SqlFuConnection(db, _provider)); } return(SqlFuManager.OpenConnection(_provider, _connectionString)); }
public DbConnection Create(DbConnection db = null) { if (db == null) { return(SqlFuManager.OpenConnection(_provider, _connectionString)); } if (db is SqlFuConnection) { return(db); } return(new SqlFuConnection(_provider, db, Configuration)); }
public DbConnection Create(string cnxString) { return(SqlFuManager.OpenConnection(_provider, cnxString ?? _connectionString)); }