示例#1
0
        /// <summary>
        ///     Creates a new <see cref="!:ScreenObjectEntryModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:ScreenObjectEntryModel" /> instance.
        /// </returns>
        public static Consensus.UserInterface.ScreenObjectEntry Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenObjectEntry.Create(site));
        }
示例#2
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:ScreenObjectEntryModel" /> instances.
        /// </summary>
        /// <param name="screenObjectId">
        ///     The value which identifies the <see cref="!:ScreenObjectEntryModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:ScreenObjectEntryModel" /> instances that match the specified <paramref name="screenObjectId" />.
        /// </returns>
        public static IEnumerable <Consensus.UserInterface.ScreenObjectEntry> FetchAllByScreenObjectId(System.Int32 screenObjectId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(ScreenObjectEntry.FetchById(site, id));
        }
示例#4
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenObjectEntry.GetTableName(site));
        }
示例#5
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:ScreenObjectEntryModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:ScreenObjectEntryModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.UserInterface.ScreenObjectEntry> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ScreenObjectEntry.FetchAll(site));
        }