Exemplo n.º 1
0
        /// <summary>
        /// Run ElectionLevelMetaDataXref_SelectAll, and return results as a list of ElectionLevelMetaDataXrefRow.
        /// </summary>

        /// <returns>A collection of ElectionLevelMetaDataXrefRow.</returns>
        public static List <ElectionLevelMetaDataXrefContract> SelectAllNow()
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.SelectAll();
            return(driver.Results);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Read all ElectionLevelMetaDataXref rows from the provided reader into the list structure of ElectionLevelMetaDataXrefRows
        /// </summary>
        /// <param name="reader">The result of running a sql command.</param>
        /// <returns>A populated ElectionLevelMetaDataXrefRows or an empty ElectionLevelMetaDataXrefRows if there are no results.</returns>
        public static List <ElectionLevelMetaDataXrefContract> ReadAllNow(SqlDataReader reader)
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.ReadAll(reader);

            return(driver.Results);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Run ElectionLevelMetaDataXref_SelectAll, and return results as a list of ElectionLevelMetaDataXrefRow.
        /// </summary>

        /// <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> SelectAllNow(SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.SelectAll(connection, transaction);

            return(driver.Results);
        }
Exemplo n.º 4
0
        /// <summary>
        /// Run ElectionLevelMetaDataXref_SelectBy_ElectionLevelId, and return results as a list of ElectionLevelMetaDataXrefRow.
        /// </summary>
        /// <param name="fldElectionLevelId">Value for ElectionLevelId</param>
        /// <returns>A collection of ElectionLevelMetaDataXrefRow.</returns>
        public static List <ElectionLevelMetaDataXrefContract> SelectBy_ElectionLevelIdNow(int fldElectionLevelId
                                                                                           )
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.SelectBy_ElectionLevelId(fldElectionLevelId
                                            );
            return(driver.Results);
        }
Exemplo n.º 5
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);
        }
Exemplo n.º 6
0
        /// <summary>
        /// Run ElectionLevelMetaDataXref_SelectBy_ElectionLevelId, and return results as a list of ElectionLevelMetaDataXrefRow.
        /// </summary>
        /// <param name="fldElectionLevelId">Value for ElectionLevelId</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> SelectBy_ElectionLevelIdNow(int fldElectionLevelId
                                                                                           , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            driver.SelectBy_ElectionLevelId(fldElectionLevelId
                                            , connection, transaction);

            return(driver.Results);
        }
Exemplo n.º 7
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);
        }
Exemplo n.º 8
0
        /// <summary>");
        /// Advance one, and read values into a ElectionLevelMetaDataXref
        /// </summary>
        /// <param name="reader">The result of running a sql command.</param>");
        /// <returns>A ElectionLevelMetaDataXref or null if there are no results.</returns>
        public static ElectionLevelMetaDataXrefContract ReadOneNow(SqlDataReader reader)
        {
            var driver = new ElectionLevelMetaDataXrefLogic();

            return(driver.ReadOne(reader) ? driver.Results[0] : null);
        }