/// <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); }
//Insert public void Add(Meeting m) { entities.Meetings.AddObject(m); }
/// <summary> /// Create a new Meeting object. /// </summary> /// <param name="orderNo">Initial value of the OrderNo property.</param> /// <param name="contact">Initial value of the Contact property.</param> /// <param name="details">Initial value of the Details property.</param> /// <param name="date">Initial value of the Date property.</param> public static Meeting CreateMeeting(global::System.Int32 orderNo, global::System.Int32 contact, global::System.String details, global::System.DateTime date) { Meeting meeting = new Meeting(); meeting.OrderNo = orderNo; meeting.Contact = contact; meeting.Details = details; meeting.Date = date; return meeting; }