/// <summary> /// Create a new Calendar object. /// </summary> /// <param name="date">Initial value of the Date property.</param> /// <param name="description">Initial value of the Description property.</param> public static Calendar CreateCalendar(global::System.DateTime date, global::System.String description) { Calendar calendar = new Calendar(); calendar.Date = date; calendar.Description = description; return calendar; }
/// <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); }