コード例 #1
0
        /// <summary>
        /// Run Election_SelectBy_ContentInspectionId, and return results as a list of ElectionRow.
        /// </summary>
        /// <param name="fldContentInspectionId">Value for ContentInspectionId</param>
        /// <returns>A collection of ElectionRow.</returns>
        public static List <ElectionContract> SelectBy_ContentInspectionIdNow(int fldContentInspectionId
                                                                              )
        {
            var driver = new ElectionLogic();

            driver.SelectBy_ContentInspectionId(fldContentInspectionId
                                                );
            return(driver.Results);
        }
コード例 #2
0
        /// <summary>
        /// Run Election_SelectBy_ContentInspectionId, and return results as a list of ElectionRow.
        /// </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 ElectionRow.</returns>
        public static List <ElectionContract> SelectBy_ContentInspectionIdNow(int fldContentInspectionId
                                                                              , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new ElectionLogic();

            driver.SelectBy_ContentInspectionId(fldContentInspectionId
                                                , connection, transaction);

            return(driver.Results);
        }