예제 #1
0
 /// <summary>
 /// Gets the total number of records in the CourseEnrollmentInfo table
 /// </summary>
 public static int GetRecordCount()
 {
     return(CourseEnrollmentInfoDataLayer.GetRecordCount());
 }
예제 #2
0
 /// <summary>
 /// Gets the total number of records in the CourseEnrollmentInfo table by CourseId
 /// </summary>
 public static int GetRecordCountByCourseId(int courseId)
 {
     return(CourseEnrollmentInfoDataLayer.GetRecordCountByCourseId(courseId));
 }
예제 #3
0
        /// <summary>
        /// Updates a record
        /// </summary>
        public void Update()
        {
            CourseEnrollmentInfo objCourseEnrollmentInfo = (CourseEnrollmentInfo)this;

            CourseEnrollmentInfoDataLayer.Update(objCourseEnrollmentInfo);
        }
예제 #4
0
 /// <summary>
 /// Deletes a record based on primary key(s)
 /// </summary>
 public static void Delete(int enrollmentId)
 {
     CourseEnrollmentInfoDataLayer.Delete(enrollmentId);
 }
예제 #5
0
 /// <summary>
 /// Selects all records as a collection (List) of CourseEnrollmentInfo
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectAll()
 {
     return(CourseEnrollmentInfoDataLayer.SelectAll());
 }
예제 #6
0
        /// <summary>
        /// Inserts a record
        /// </summary>
        public int Insert()
        {
            CourseEnrollmentInfo objCourseEnrollmentInfo = (CourseEnrollmentInfo)this;

            return(CourseEnrollmentInfoDataLayer.Insert(objCourseEnrollmentInfo));
        }
예제 #7
0
        /// <summary>
        /// Selects all CourseEnrollmentInfo by Student, related to column StudentId, sorted by the sort expression
        /// </summary>
        public static List <CourseEnrollmentInfo> SelectCourseEnrollmentInfoCollectionByStudentId(int studentId, string sortByExpression)
        {
            List <CourseEnrollmentInfo> objCourseEnrollmentInfoCol = CourseEnrollmentInfoDataLayer.SelectCourseEnrollmentInfoCollectionByStudentId(studentId);

            return(SortByExpression(objCourseEnrollmentInfoCol, sortByExpression));
        }
예제 #8
0
 /// <summary>
 /// Selects records as a collection (List) of CourseEnrollmentInfo sorted by the sortByExpression and returns the rows (# of records) starting from the startRowIndex
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectSkipAndTake(int rows, int startRowIndex, string sortByExpression, bool isIncludeRelatedProperties = true)
 {
     sortByExpression = GetSortExpression(sortByExpression);
     return(CourseEnrollmentInfoDataLayer.SelectSkipAndTake(sortByExpression, startRowIndex, rows, isIncludeRelatedProperties));
 }
예제 #9
0
 /// <summary>
 /// Selects all CourseEnrollmentInfo by Course, related to column CourseId
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectCourseEnrollmentInfoCollectionByCourseId(int courseId)
 {
     return(CourseEnrollmentInfoDataLayer.SelectCourseEnrollmentInfoCollectionByCourseId(courseId));
 }
예제 #10
0
 /// <summary>
 /// Selects all CourseEnrollmentInfo by Student, related to column StudentId
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectCourseEnrollmentInfoCollectionByStudentId(int studentId)
 {
     return(CourseEnrollmentInfoDataLayer.SelectCourseEnrollmentInfoCollectionByStudentId(studentId));
 }
예제 #11
0
        /// <summary>
        /// Selects records based on the passed filters as a collection (List) of CourseEnrollmentInfo sorted by the sort expression.
        /// </summary>
        public static List <CourseEnrollmentInfo> SelectAllDynamicWhere(int?enrollmentId, int?courseId, int?studentId, string comments, string sortByExpression)
        {
            List <CourseEnrollmentInfo> objCourseEnrollmentInfoCol = CourseEnrollmentInfoDataLayer.SelectAllDynamicWhere(enrollmentId, courseId, studentId, comments);

            return(SortByExpression(objCourseEnrollmentInfoCol, sortByExpression));
        }
예제 #12
0
 /// <summary>
 /// Selects records based on the passed filters as a collection (List) of CourseEnrollmentInfo.
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectAllDynamicWhere(int?enrollmentId, int?courseId, int?studentId, string comments)
 {
     return(CourseEnrollmentInfoDataLayer.SelectAllDynamicWhere(enrollmentId, courseId, studentId, comments));
 }
예제 #13
0
        /// <summary>
        /// Selects all records as a collection (List) of CourseEnrollmentInfo sorted by the sort expression
        /// </summary>
        public static List <CourseEnrollmentInfo> SelectAll(string sortByExpression)
        {
            List <CourseEnrollmentInfo> objCourseEnrollmentInfoCol = CourseEnrollmentInfoDataLayer.SelectAll();

            return(SortByExpression(objCourseEnrollmentInfoCol, sortByExpression));
        }
예제 #14
0
 /// <summary>
 /// Gets the total number of records in the CourseEnrollmentInfo table by StudentId
 /// </summary>
 public static int GetRecordCountByStudentId(int studentId)
 {
     return(CourseEnrollmentInfoDataLayer.GetRecordCountByStudentId(studentId));
 }
예제 #15
0
 /// <summary>
 /// Selects EnrollmentId and Comments columns for use with a DropDownList web control, ComboBox, CheckedBoxList, ListView, ListBox, etc
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectCourseEnrollmentInfoDropDownListData()
 {
     return(CourseEnrollmentInfoDataLayer.SelectCourseEnrollmentInfoDropDownListData());
 }
예제 #16
0
 /// <summary>
 /// Gets the total number of records in the CourseEnrollmentInfo table based on search parameters
 /// </summary>
 public static int GetRecordCountDynamicWhere(int?enrollmentId, int?courseId, int?studentId, string comments)
 {
     return(CourseEnrollmentInfoDataLayer.GetRecordCountDynamicWhere(enrollmentId, courseId, studentId, comments));
 }
예제 #17
0
 /// <summary>
 /// Selects a record by primary key(s)
 /// </summary>
 public static CourseEnrollmentInfo SelectByPrimaryKey(int enrollmentId)
 {
     return(CourseEnrollmentInfoDataLayer.SelectByPrimaryKey(enrollmentId));
 }
예제 #18
0
 /// <summary>
 /// Selects records by StudentId as a collection (List) of CourseEnrollmentInfo sorted by the sortByExpression starting from the startRowIndex
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectSkipAndTakeByStudentId(int rows, int startRowIndex, string sortByExpression, int studentId)
 {
     sortByExpression = GetSortExpression(sortByExpression);
     return(CourseEnrollmentInfoDataLayer.SelectSkipAndTakeByStudentId(sortByExpression, startRowIndex, rows, studentId));
 }
예제 #19
0
 /// <summary>
 /// Selects records as a collection (List) of CourseEnrollmentInfo sorted by the sortByExpression starting from the startRowIndex, based on the search parameters
 /// </summary>
 public static List <CourseEnrollmentInfo> SelectSkipAndTakeDynamicWhere(int?enrollmentId, int?courseId, int?studentId, string comments, int rows, int startRowIndex, string sortByExpression)
 {
     sortByExpression = GetSortExpression(sortByExpression);
     return(CourseEnrollmentInfoDataLayer.SelectSkipAndTakeDynamicWhere(enrollmentId, courseId, studentId, comments, sortByExpression, startRowIndex, rows));
 }