/// <summary> /// Run Election_SelectBy_ElectionLevelId, and return results as a list of ElectionRow. /// </summary> /// <param name="fldElectionLevelId">Value for ElectionLevelId</param> /// <returns>A collection of ElectionRow.</returns> public static List <ElectionContract> SelectBy_ElectionLevelIdNow(int fldElectionLevelId ) { var driver = new ElectionLogic(); driver.SelectBy_ElectionLevelId(fldElectionLevelId ); return(driver.Results); }
/// <summary> /// Run Election_SelectBy_ElectionLevelId, and return results as a list of ElectionRow. /// </summary> /// <param name="fldElectionLevelId">Value for ElectionLevelId</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of ElectionRow.</returns> public static List <ElectionContract> SelectBy_ElectionLevelIdNow(int fldElectionLevelId , SqlConnection connection, SqlTransaction transaction) { var driver = new ElectionLogic(); driver.SelectBy_ElectionLevelId(fldElectionLevelId , connection, transaction); return(driver.Results); }