コード例 #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:HelpdeskModel" /> instances.
        /// </summary>
        /// <param name="pmIdId">
        ///     The value which identifies the <see cref="!:HelpdeskModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:HelpdeskModel" /> instances that match the specified <paramref name="pmIdId" />.
        /// </returns>
        public static IEnumerable <Consensus.Activities.Helpdesk> FetchAllByPmIdId(System.String pmIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Helpdesk.GetTableName(site));
        }
コード例 #3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:HelpdeskModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:HelpdeskModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Activities.Helpdesk> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Helpdesk.FetchById(site, id));
        }
コード例 #5
0
        /// <summary>
        ///     Creates a new <see cref="!:HelpdeskModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:HelpdeskModel" /> instance.
        /// </returns>
        public static Consensus.Activities.Helpdesk Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Helpdesk.Create(site));
        }