/// <summary> /// Run Election_SelectBy_ElectionId, and return results as a list of ElectionRow. /// </summary> /// <param name="fldElectionId">Value for ElectionId</param> /// <returns>A collection of ElectionRow.</returns> public static List <ElectionContract> SelectBy_ElectionIdNow(int fldElectionId ) { var driver = new ElectionLogic(); driver.SelectBy_ElectionId(fldElectionId ); return(driver.Results); }
/// <summary> /// Run Election_SelectBy_ElectionId, and return results as a list of ElectionRow. /// </summary> /// <param name="fldElectionId">Value for ElectionId</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_ElectionIdNow(int fldElectionId , SqlConnection connection, SqlTransaction transaction) { var driver = new ElectionLogic(); driver.SelectBy_ElectionId(fldElectionId , connection, transaction); return(driver.Results); }