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

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

            return(Learner.GetTableName(site));
        }
コード例 #3
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:LearnerModel" /> instances.
        /// </summary>
        /// <param name="memberPeriodId">
        ///     The value which identifies the <see cref="!:LearnerModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:LearnerModel" /> instances that match the specified <paramref name="memberPeriodId" />.
        /// </returns>
        public static IEnumerable <Consensus.Learning.Learner> FetchAllByMemberPeriodId(System.String memberPeriodId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Learner.FetchById(site, id));
        }
コード例 #5
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:LearnerModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:LearnerModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Learning.Learner> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.FetchAll(site));
        }
コード例 #6
0
        /// <summary>
        ///     Creates a new <see cref="!:LearnerModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:LearnerModel" /> instance.
        /// </returns>
        public static Consensus.Learning.Learner Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.Create(site));
        }
コード例 #7
0
        public static Consensus.Learning.Learner CancelBooking(System.String bookId, System.String userLoginId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.CancelBooking(site, bookId, userLoginId));
        }
コード例 #8
0
        public static Consensus.Learning.Learner DelegatesToConfirm(System.String bookId, System.String approver)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.DelegatesToConfirm(site, bookId, approver));
        }