Exemple #1
0
        /// <summary>
        /// Run ElectionLevelMetaDataXref_Search, and return results as a list of ElectionLevelMetaDataXrefRow.
        /// </summary>
        /// <param name="fldMetaDataId">Value for MetaDataId</param>
        /// <returns>A collection of ElectionLevelMetaDataXrefRow.</returns>
        public static List <ElectionLevelMetaDataXrefContract> SearchNow(string fldMetaDataId
                                                                         )
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.Search(fldMetaDataId
                          );
            return(driver.Results);
        }
Exemple #2
0
        /// <summary>
        /// Run ElectionLevelMetaDataXref_Search, and return results as a list of ElectionLevelMetaDataXrefRow.
        /// </summary>
        /// <param name="fldMetaDataId">Value for MetaDataId</param>
        /// <param name="connection">The SqlConnection to use</param>
        /// <param name="transaction">The SqlTransaction to use</param>
        /// <returns>A collection of ElectionLevelMetaDataXrefRow.</returns>
        public static List <ElectionLevelMetaDataXrefContract> SearchNow(string fldMetaDataId
                                                                         , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.Search(fldMetaDataId
                          , connection, transaction);

            return(driver.Results);
        }