/// <summary> /// Run Organization_SelectAll, and return results as a list of OrganizationRow. /// </summary> /// <returns>A collection of OrganizationRow.</returns> public static List <OrganizationContract> SelectAllNow() { var driver = new OrganizationLogic(); driver.SelectAll(); return(driver.Results); }
/// <summary> /// Run Organization_SelectAll, and return results as a list of OrganizationRow. /// </summary> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of OrganizationRow.</returns> public static List <OrganizationContract> SelectAllNow(SqlConnection connection, SqlTransaction transaction) { var driver = new OrganizationLogic(); driver.SelectAll(connection, transaction); return(driver.Results); }