/// <summary> /// Deprecated Method for adding a new object to the Courses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourses(Course course) { base.AddObject("Courses", course); }
/// <summary> /// Create a new Course object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Course CreateCourse(global::System.Guid id) { Course course = new Course(); course.ID = id; return course; }