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

            return(GenericModel.GetTableName(site));
        }
예제 #2
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:GenericModelModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:GenericModelModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Common.GenericModel> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(GenericModel.FetchById(site, id));
        }
예제 #4
0
        /// <summary>
        ///     Creates a new <see cref="!:GenericModelModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:GenericModelModel" /> instance.
        /// </returns>
        public static Consensus.Common.GenericModel Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(GenericModel.Create(site));
        }
예제 #5
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:GenericModelModel" /> instance.
        /// </summary>
        /// <returns>
        ///     The <see cref="!:GenericModelModel" /> instance that matches the specified <paramref name="courseid" />; or null, if no matching instance can be found.
        /// </returns>
        public static IEnumerable <Consensus.Common.GenericModel> ValidateDelegate(System.String courseid, System.String proleid, System.String qualid, System.Int16 ignorefreeplaces, System.Int16 delquantity)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(GenericModel.ValidateDelegate(site, courseid, proleid, qualid, ignorefreeplaces, delquantity));
        }
예제 #6
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:GenericModelModel" /> instance.
        /// </summary>
        /// <returns>
        ///     The <see cref="!:GenericModelModel" /> instance that matches the specified <paramref name="courseid" />; or null, if no matching instance can be found.
        /// </returns>
        public static IEnumerable <Consensus.Common.GenericModel> FetchAllByProdIdPrices(System.String prodid, System.Int32 qty)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(GenericModel.FetchAllByProdIdPrices(site, prodid, qty));
        }
예제 #7
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:GenericModelModel" /> instance.
        /// </summary>
        /// <returns>
        ///     The <see cref="!:GenericModelModel" /> instance that matches the specified <paramref name="courseid" />; or null, if no matching instance can be found.
        /// </returns>
        public static IEnumerable <Consensus.Common.GenericModel> FetchAllByCourseIdPrices(System.String courseid, System.Int32 delcount)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(GenericModel.FetchAllByCourseIdPrices(site, courseid, delcount));
        }
예제 #8
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:GenericModelModel" /> instance.
        /// </summary>
        /// <returns>
        ///     The <see cref="!:GenericModelModel" /> instance that matches the specified <paramref name="accId" />; or null, if no matching instance can be found.
        /// </returns>
        public static IEnumerable <Consensus.Common.GenericModel> FetchAllByAccIdAccountXref(System.String accId, System.String proleId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(GenericModel.FetchAllByAccIdAccountXref(site, accId, proleId));
        }