/// <summary>
 /// Deprecated Method for adding a new object to the ScheduleItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToScheduleItems(ScheduleItem scheduleItem)
 {
     base.AddObject("ScheduleItems", scheduleItem);
 }
 /// <summary>
 /// Create a new ScheduleItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="semester">Initial value of the Semester property.</param>
 public static ScheduleItem CreateScheduleItem(global::System.Int32 id, global::System.String year, global::System.String semester)
 {
     ScheduleItem scheduleItem = new ScheduleItem();
     scheduleItem.Id = id;
     scheduleItem.Year = year;
     scheduleItem.Semester = semester;
     return scheduleItem;
 }