/// <summary> /// Create a new MeetingRoom object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="roomName">Initial value of the RoomName property.</param> public static MeetingRoom CreateMeetingRoom(global::System.Int32 id, global::System.String roomName) { MeetingRoom meetingRoom = new MeetingRoom(); meetingRoom.Id = id; meetingRoom.RoomName = roomName; return(meetingRoom); }
/// <summary> /// Deprecated Method for adding a new object to the MeetingRooms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMeetingRooms(MeetingRoom meetingRoom) { base.AddObject("MeetingRooms", meetingRoom); }