/// <summary> /// Selects records based on the passed filters as a collection (List) of CourseEnrollment sorted by the sort expression. /// </summary> public static List <CourseEnrollment> SelectAllDynamicWhere(int?enrollmentId, int?courseName, int?studentName, string comments, string sortByExpression) { List <CourseEnrollment> objCourseEnrollmentCol = CourseEnrollmentDataLayer.SelectAllDynamicWhere(enrollmentId, courseName, studentName, comments); return(SortByExpression(objCourseEnrollmentCol, sortByExpression)); }
/// <summary> /// Selects records based on the passed filters as a collection (List) of CourseEnrollment. /// </summary> public static List <CourseEnrollment> SelectAllDynamicWhere(int?enrollmentId, int?courseName, int?studentName, string comments) { return(CourseEnrollmentDataLayer.SelectAllDynamicWhere(enrollmentId, courseName, studentName, comments)); }