/// <summary> /// Run ElectionCandidate_SelectBy_ContentInspectionId, and return results as a list of ElectionCandidateRow. /// </summary> /// <param name="fldContentInspectionId">Value for ContentInspectionId</param> /// <returns>A collection of ElectionCandidateRow.</returns> public static List <ElectionCandidateContract> SelectBy_ContentInspectionIdNow(int fldContentInspectionId ) { var driver = new ElectionCandidateLogic(); driver.SelectBy_ContentInspectionId(fldContentInspectionId ); return(driver.Results); }
/// <summary> /// Run ElectionCandidate_SelectBy_ContentInspectionId, and return results as a list of ElectionCandidateRow. /// </summary> /// <param name="fldContentInspectionId">Value for ContentInspectionId</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_ContentInspectionIdNow(int fldContentInspectionId , SqlConnection connection, SqlTransaction transaction) { var driver = new ElectionCandidateLogic(); driver.SelectBy_ContentInspectionId(fldContentInspectionId , connection, transaction); return(driver.Results); }