Beispiel #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:UserGroupMemberModel" /> instances.
        /// </summary>
        /// <param name="groupId">
        ///     The value which identifies the <see cref="!:UserGroupMemberModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:UserGroupMemberModel" /> instances that match the specified <paramref name="groupId" />.
        /// </returns>
        public static IEnumerable <Consensus.Security.UserGroupMember> FetchAllByGroupId(System.Int32 groupId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(UserGroupMember.FetchAllByGroupId(site, groupId));
        }
Beispiel #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(UserGroupMember.GetTableName(site));
        }
Beispiel #3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:UserGroupMemberModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:UserGroupMemberModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Security.UserGroupMember> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(UserGroupMember.FetchById(site, id));
        }
Beispiel #5
0
        /// <summary>
        ///     Creates a new <see cref="!:UserGroupMemberModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:UserGroupMemberModel" /> instance.
        /// </returns>
        public static Consensus.Security.UserGroupMember Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(UserGroupMember.Create(site));
        }