Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Calendars EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCalendars(Calendar calendar)
 {
     base.AddObject("Calendars", calendar);
 }
Пример #2
0
 /// <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;
 }