/// <summary> /// Deprecated Method for adding a new object to the Meetings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMeetings(Meeting meeting) { base.AddObject("Meetings", meeting); }
/// <summary> /// Create a new Meeting object. /// </summary> /// <param name="meetingID">Initial value of the MeetingID property.</param> /// <param name="start">Initial value of the Start property.</param> /// <param name="end">Initial value of the End property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="isAllDay">Initial value of the IsAllDay property.</param> public static Meeting CreateMeeting(global::System.Int32 meetingID, global::System.DateTime start, global::System.DateTime end, global::System.String title, global::System.String description, global::System.Boolean isAllDay) { Meeting meeting = new Meeting(); meeting.MeetingID = meetingID; meeting.Start = start; meeting.End = end; meeting.Title = title; meeting.Description = description; meeting.IsAllDay = isAllDay; return meeting; }