/// <summary> /// Run ElectionCandidate_SelectBy_ElectionCandidateId, and return results as a list of ElectionCandidateRow. /// </summary> /// <param name="fldElectionCandidateId">Value for ElectionCandidateId</param> /// <returns>A collection of ElectionCandidateRow.</returns> public static List <ElectionCandidateContract> SelectBy_ElectionCandidateIdNow(int fldElectionCandidateId ) { var driver = new ElectionCandidateLogic(); driver.SelectBy_ElectionCandidateId(fldElectionCandidateId ); return(driver.Results); }
/// <summary> /// Run ElectionCandidate_SelectBy_ElectionCandidateId, and return results as a list of ElectionCandidateRow. /// </summary> /// <param name="fldElectionCandidateId">Value for ElectionCandidateId</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of ElectionCandidateRow.</returns> public static List <ElectionCandidateContract> SelectBy_ElectionCandidateIdNow(int fldElectionCandidateId , SqlConnection connection, SqlTransaction transaction) { var driver = new ElectionCandidateLogic(); driver.SelectBy_ElectionCandidateId(fldElectionCandidateId , connection, transaction); return(driver.Results); }