/// <summary> /// Create a new CourseList object. /// </summary> /// <param name="courseID">Initial value of the CourseID property.</param> /// <param name="courseName">Initial value of the CourseName property.</param> public static CourseList CreateCourseList(global::System.Int32 courseID, global::System.String courseName) { CourseList courseList = new CourseList(); courseList.CourseID = courseID; courseList.CourseName = courseName; return(courseList); }
/// <summary> /// Deprecated Method for adding a new object to the CourseLists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourseLists(CourseList courseList) { base.AddObject("CourseLists", courseList); }