示例#1
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(MemberLocation.GetTableName(site));
        }
示例#2
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:MemberLocationModel" /> instances.
        /// </summary>
        /// <param name="mailAddIdId">
        ///     The value which identifies the <see cref="!:MemberLocationModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:MemberLocationModel" /> instances that match the specified <paramref name="mailAddIdId" />.
        /// </returns>
        public static IEnumerable <Consensus.Membership.MemberLocation> FetchAllByMailAddIdId(System.String mailAddIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

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

            return(MemberLocation.FetchAll(site));
        }
示例#5
0
        /// <summary>
        ///     Creates a new <see cref="!:MemberLocationModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:MemberLocationModel" /> instance.
        /// </returns>
        public static Consensus.Membership.MemberLocation Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(MemberLocation.Create(site));
        }
示例#6
0
        /// <summary>
        ///     Checks if Consultant scheme product already exist in database.
        /// </summary>
        /// <param name="productId">
        ///     Id of the Product.
        /// </param>
        /// <param name="memberLocationId">
        ///     Id of the Member Location.
        /// </param>
        /// <param name="memberPeriodId">
        ///     Id of the Member Period.
        /// </param>
        /// <returns>
        ///     Whether Consultant scheme product already exist in database.
        /// </returns>
        public static System.Boolean CheckIfProductExist(System.String productId, System.String memberLocationId, System.String memberPeriodId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(MemberLocation.CheckIfProductExist(site, productId, memberLocationId, memberPeriodId));
        }
示例#7
0
        public static IEnumerable <Consensus.Membership.MemberLocation> CheckMemLocLinesToInvoice(System.String memberPeriodId, System.String userLoginId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(MemberLocation.CheckMemLocLinesToInvoice(site, memberPeriodId, userLoginId));
        }