Пример #1
0
        /// <summary>
        /// Run Voter_SelectBy_LocationId, and return results as a list of VoterRow.
        /// </summary>
        /// <param name="fldLocationId">Value for LocationId</param>
        /// <returns>A collection of VoterRow.</returns>
        public static List <VoterContract> SelectBy_LocationIdNow(int fldLocationId
                                                                  )
        {
            var driver = new VoterLogic();

            driver.SelectBy_LocationId(fldLocationId
                                       );
            return(driver.Results);
        }
Пример #2
0
        /// <summary>
        /// Run Voter_SelectBy_LocationId, and return results as a list of VoterRow.
        /// </summary>
        /// <param name="fldLocationId">Value for LocationId</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_LocationIdNow(int fldLocationId
                                                                  , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new VoterLogic();

            driver.SelectBy_LocationId(fldLocationId
                                       , connection, transaction);

            return(driver.Results);
        }