/// <summary> /// Deprecated Method for adding a new object to the CalendarNotes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCalendarNotes(CalendarNote calendarNote) { base.AddObject("CalendarNotes", calendarNote); }
/// <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; }
public CalendarNoteModel(CalendarNote note) { _calendarNote = note; }