コード例 #1
0
        /// <summary>
        /// Selects all CourseEnrollment by Student, related to column StudentName, sorted by the sort expression
        /// </summary>
        public static List <CourseEnrollment> SelectCourseEnrollmentCollectionByStudentName(int studenId, string sortByExpression)
        {
            List <CourseEnrollment> objCourseEnrollmentCol = CourseEnrollmentDataLayer.SelectCourseEnrollmentCollectionByStudentName(studenId);

            return(SortByExpression(objCourseEnrollmentCol, sortByExpression));
        }
コード例 #2
0
 /// <summary>
 /// Selects all CourseEnrollment by Student, related to column StudentName
 /// </summary>
 public static List <CourseEnrollment> SelectCourseEnrollmentCollectionByStudentName(int studenId)
 {
     return(CourseEnrollmentDataLayer.SelectCourseEnrollmentCollectionByStudentName(studenId));
 }