/// <summary>
 /// Deprecated Method for adding a new object to the OnsiteCourse EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOnsiteCourse(OnsiteCourse onsiteCourse)
 {
     base.AddObject("OnsiteCourse", onsiteCourse);
 }
 /// <summary>
 /// Create a new OnsiteCourse object.
 /// </summary>
 /// <param name="courseID">Initial value of the CourseID property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 /// <param name="days">Initial value of the Days property.</param>
 /// <param name="time">Initial value of the Time property.</param>
 public static OnsiteCourse CreateOnsiteCourse(global::System.Int32 courseID, global::System.String location, global::System.String days, global::System.DateTime time)
 {
     OnsiteCourse onsiteCourse = new OnsiteCourse();
     onsiteCourse.CourseID = courseID;
     onsiteCourse.Location = location;
     onsiteCourse.Days = days;
     onsiteCourse.Time = time;
     return onsiteCourse;
 }