/// <summary> /// Deprecated Method for adding a new object to the tblTutorCourses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblTutorCourses(tblTutorCourse tblTutorCourse) { base.AddObject("tblTutorCourses", tblTutorCourse); }
/// <summary> /// Create a new tblTutorCourse object. /// </summary> /// <param name="tutorCourseId">Initial value of the TutorCourseId property.</param> /// <param name="tutorId">Initial value of the TutorId property.</param> /// <param name="courseId">Initial value of the CourseId property.</param> /// <param name="grade">Initial value of the Grade property.</param> public static tblTutorCourse CreatetblTutorCourse(global::System.Int32 tutorCourseId, global::System.Int32 tutorId, global::System.Int32 courseId, global::System.String grade) { tblTutorCourse tblTutorCourse = new tblTutorCourse(); tblTutorCourse.TutorCourseId = tutorCourseId; tblTutorCourse.TutorId = tutorId; tblTutorCourse.CourseId = courseId; tblTutorCourse.Grade = grade; return tblTutorCourse; }