Пример #1
0
        /// <summary>
        /// Run Candidates_SelectBy_OrganizationId, and return results as a list of CandidatesRow.
        /// </summary>
        /// <param name="fldOrganizationId">Value for OrganizationId</param>
        /// <returns>A collection of CandidatesRow.</returns>
        public static List <CandidatesContract> SelectBy_OrganizationIdNow(int fldOrganizationId
                                                                           )
        {
            var driver = new CandidatesLogic();

            driver.SelectBy_OrganizationId(fldOrganizationId
                                           );
            return(driver.Results);
        }
Пример #2
0
        /// <summary>
        /// Run Candidates_SelectBy_OrganizationId, and return results as a list of CandidatesRow.
        /// </summary>
        /// <param name="fldOrganizationId">Value for OrganizationId</param>
        /// <param name="connection">The SqlConnection to use</param>
        /// <param name="transaction">The SqlTransaction to use</param>
        /// <returns>A collection of CandidatesRow.</returns>
        public static List <CandidatesContract> SelectBy_OrganizationIdNow(int fldOrganizationId
                                                                           , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new CandidatesLogic();

            driver.SelectBy_OrganizationId(fldOrganizationId
                                           , connection, transaction);

            return(driver.Results);
        }