コード例 #1
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:ScreenCustomFieldTypeModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:ScreenCustomFieldTypeModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.UserInterface.ScreenCustomFieldType> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomFieldType.FetchAll(site));
        }
コード例 #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenCustomFieldType.GetTableName(site));
        }
コード例 #3
0
        /// <summary>
        ///     Creates a new <see cref="!:ScreenCustomFieldTypeModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:ScreenCustomFieldTypeModel" /> instance.
        /// </returns>
        public static Consensus.UserInterface.ScreenCustomFieldType Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(ScreenCustomFieldType.FetchById(site, id));
        }