public DbAccessTest() { _connectionString = ConfigurationHelper.GetConnectionString(); _dbAccess = DbAccessFactory.Build(() => new SqlConnection(_connectionString)); }
/// <summary> /// Execute a SqlCommand (that returns a resultset and takes no parameters) against the provided SqlConnection. /// </summary> public DataSet ExecuteDataset(string commandText) { return(DbAccessFactory.Create().ExecuteDataset(commandText)); }