Пример #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:CommitteeModel" /> instances.
        /// </summary>
        /// <param name="disIdId">
        ///     The value which identifies the <see cref="!:CommitteeModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:CommitteeModel" /> instances that match the specified <paramref name="disIdId" />.
        /// </returns>
        public static IEnumerable <Consensus.Membership.Committee> FetchAllByDisIdId(System.String disIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Committee.FetchAllByDisIdId(site, disIdId));
        }
Пример #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Committee.GetTableName(site));
        }
Пример #3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:CommitteeModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:CommitteeModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Membership.Committee> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Committee.FetchById(site, id));
        }
Пример #5
0
        /// <summary>
        ///     Creates a new <see cref="!:CommitteeModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:CommitteeModel" /> instance.
        /// </returns>
        public static Consensus.Membership.Committee Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Committee.Create(site));
        }