/// <summary>
        /// Run MetaData_SelectAll, and return results as a list of MetaDataRow.
        /// </summary>

        /// <returns>A collection of MetaDataRow.</returns>
        public static List <MetaDataContract> SelectAllNow()
        {
            var driver = new MetaDataLogic();

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

            driver.ReadAll(reader);

            return(driver.Results);
        }
        /// <summary>
        /// Run MetaData_SelectAll, and return results as a list of MetaDataRow.
        /// </summary>

        /// <param name="connection">The SqlConnection to use</param>
        /// <param name="transaction">The SqlTransaction to use</param>
        /// <returns>A collection of MetaDataRow.</returns>
        public static List <MetaDataContract> SelectAllNow(SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new MetaDataLogic();

            driver.SelectAll(connection, transaction);

            return(driver.Results);
        }
        /// <summary>
        /// Run MetaData_SelectBy_ContentInspectionId, and return results as a list of MetaDataRow.
        /// </summary>
        /// <param name="fldContentInspectionId">Value for ContentInspectionId</param>
        /// <returns>A collection of MetaDataRow.</returns>
        public static List <MetaDataContract> SelectBy_ContentInspectionIdNow(int fldContentInspectionId
                                                                              )
        {
            var driver = new MetaDataLogic();

            driver.SelectBy_ContentInspectionId(fldContentInspectionId
                                                );
            return(driver.Results);
        }
        /// <summary>
        /// Run MetaData_Search, and return results as a list of MetaDataRow.
        /// </summary>
        /// <param name="fldMetaDataName">Value for MetaDataName</param>
        /// <returns>A collection of MetaDataRow.</returns>
        public static List <MetaDataContract> SearchNow(string fldMetaDataName
                                                        )
        {
            var driver = new MetaDataLogic();

            driver.Search(fldMetaDataName
                          );
            return(driver.Results);
        }
        /// <summary>
        /// Run MetaData_SelectBy_ContentInspectionId, and return results as a list of MetaDataRow.
        /// </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 MetaDataRow.</returns>
        public static List <MetaDataContract> SelectBy_ContentInspectionIdNow(int fldContentInspectionId
                                                                              , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new MetaDataLogic();

            driver.SelectBy_ContentInspectionId(fldContentInspectionId
                                                , connection, transaction);

            return(driver.Results);
        }
        /// <summary>
        /// Run MetaData_Search, and return results as a list of MetaDataRow.
        /// </summary>
        /// <param name="fldMetaDataName">Value for MetaDataName</param>
        /// <param name="connection">The SqlConnection to use</param>
        /// <param name="transaction">The SqlTransaction to use</param>
        /// <returns>A collection of MetaDataRow.</returns>
        public static List <MetaDataContract> SearchNow(string fldMetaDataName
                                                        , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new MetaDataLogic();

            driver.Search(fldMetaDataName
                          , connection, transaction);

            return(driver.Results);
        }
        /// <summary>");
        /// Advance one, and read values into a MetaData
        /// </summary>
        /// <param name="reader">The result of running a sql command.</param>");
        /// <returns>A MetaData or null if there are no results.</returns>
        public static MetaDataContract ReadOneNow(SqlDataReader reader)
        {
            var driver = new MetaDataLogic();

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