/// <summary> /// Deprecated Method for adding a new object to the Calendars EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCalendars(Calendar calendar) { base.AddObject("Calendars", calendar); }
/// <summary> /// Create a new Calendar object. /// </summary> /// <param name="calendarID">Initial value of the CalendarID property.</param> public static Calendar CreateCalendar(global::System.Int32 calendarID) { Calendar calendar = new Calendar(); calendar.CalendarID = calendarID; return calendar; }