Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CalendarNotes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCalendarNotes(CalendarNote calendarNote)
 {
     base.AddObject("CalendarNotes", calendarNote);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new CalendarNote object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="endTime">Initial value of the EndTime property.</param>
 /// <param name="color">Initial value of the Color property.</param>
 public static CalendarNote CreateCalendarNote(global::System.Guid id, global::System.String description, global::System.DateTime startTime, global::System.DateTime endTime, global::System.String color)
 {
     CalendarNote calendarNote = new CalendarNote();
     calendarNote.ID = id;
     calendarNote.Description = description;
     calendarNote.StartTime = startTime;
     calendarNote.EndTime = endTime;
     calendarNote.Color = color;
     return calendarNote;
 }
Ejemplo n.º 3
0
 public CalendarNoteModel(CalendarNote note)
 {
     _calendarNote = note;
 }