/// <summary>
 /// Deprecated Method for adding a new object to the Holidays EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHolidays(Holiday holiday)
 {
     base.AddObject("Holidays", holiday);
 }
 /// <summary>
 /// Create a new Holiday object.
 /// </summary>
 /// <param name="holidayId">Initial value of the HolidayId property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static Holiday CreateHoliday(global::System.Int32 holidayId, global::System.DateTime date, global::System.String name, global::System.String type)
 {
     Holiday holiday = new Holiday();
     holiday.HolidayId = holidayId;
     holiday.Date = date;
     holiday.Name = name;
     holiday.Type = type;
     return holiday;
 }