/// <summary>
 /// Create a new CalendarEvent object.
 /// </summary>
 /// <param name="eventId">Initial value of the EventId property.</param>
 public static CalendarEvent CreateCalendarEvent(global::System.Int32 eventId)
 {
     CalendarEvent calendarEvent = new CalendarEvent();
     calendarEvent.EventId = eventId;
     return calendarEvent;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CalendarEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCalendarEvents(CalendarEvent calendarEvent)
 {
     base.AddObject("CalendarEvents", calendarEvent);
 }