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

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

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

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

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

            return(CommitteeXref.Create(site));
        }
Пример #6
0
        public static System.Boolean CheckIfPersonExist(System.String committeeid, System.String personid, System.String committeexrefid)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(CommitteeXref.CheckIfPersonExist(site, committeeid, personid, committeexrefid));
        }