예제 #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:ProfileCoursesModel" /> instances.
        /// </summary>
        /// <param name="coursesId">
        ///     The value which identifies the <see cref="!:ProfileCoursesModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:ProfileCoursesModel" /> instances that match the specified <paramref name="coursesId" />.
        /// </returns>
        public static IEnumerable <Consensus.Common.ProfileCourses> FetchAllByCoursesId(System.String coursesId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ProfileCourses.FetchAllByCoursesId(site, coursesId));
        }
예제 #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

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

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

            return(ProfileCourses.Create(site));
        }