/// <summary>
        ///     Retrieves a collection of <see cref="!:ScreenCustomFieldModel" /> instances.
        /// </summary>
        /// <param name="cftypeId">
        ///     The value which identifies the <see cref="!:ScreenCustomFieldModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:ScreenCustomFieldModel" /> instances that match the specified <paramref name="cftypeId" />.
        /// </returns>
        public static IEnumerable <Consensus.UserInterface.ScreenCustomField> FetchAllByCftypeId(System.String cftypeId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomField.FetchAllByCftypeId(site, cftypeId));
        }
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomField.GetTableName(site));
        }
        /// <summary>
        ///     Retrieves a specific <see cref="!:ScreenCustomFieldModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:ScreenCustomFieldModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:ScreenCustomFieldModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.UserInterface.ScreenCustomField FetchById(System.Int32 id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomField.FetchById(site, id));
        }
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:ScreenCustomFieldModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:ScreenCustomFieldModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.UserInterface.ScreenCustomField> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomField.FetchAll(site));
        }
        /// <summary>
        ///     Creates a new <see cref="!:ScreenCustomFieldModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:ScreenCustomFieldModel" /> instance.
        /// </returns>
        public static Consensus.UserInterface.ScreenCustomField Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomField.Create(site));
        }
        /// <summary>
        ///     Updates the page configuration.
        /// </summary>
        public static void Update(System.Collections.ArrayList customFields)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            ScreenCustomField.Update(site, customFields);
        }