コード例 #1
0
 /// <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;
 }
コード例 #2
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);
 }