/// <summary> /// Run Voter_SelectBy_VoterId, and return results as a list of VoterRow. /// </summary> /// <param name="fldVoterId">Value for VoterId</param> /// <returns>A collection of VoterRow.</returns> public static List <VoterContract> SelectBy_VoterIdNow(int fldVoterId ) { var driver = new VoterLogic(); driver.SelectBy_VoterId(fldVoterId ); return(driver.Results); }
/// <summary> /// Run Voter_SelectBy_VoterId, and return results as a list of VoterRow. /// </summary> /// <param name="fldVoterId">Value for VoterId</param> /// <param name="connection">The SqlConnection to use</param> /// <param name="transaction">The SqlTransaction to use</param> /// <returns>A collection of VoterRow.</returns> public static List <VoterContract> SelectBy_VoterIdNow(int fldVoterId , SqlConnection connection, SqlTransaction transaction) { var driver = new VoterLogic(); driver.SelectBy_VoterId(fldVoterId , connection, transaction); return(driver.Results); }