/// <summary> /// Deprecated Method for adding a new object to the calendar_chatroom EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocalendar_chatroom(calendar_chatroom calendar_chatroom) { base.AddObject("calendar_chatroom", calendar_chatroom); }
/// <summary> /// Create a new calendar_chatroom object. /// </summary> /// <param name="roomId">Initial value of the roomId property.</param> /// <param name="roomName">Initial value of the roomName property.</param> public static calendar_chatroom Createcalendar_chatroom(global::System.Guid roomId, global::System.String roomName) { calendar_chatroom calendar_chatroom = new calendar_chatroom(); calendar_chatroom.roomId = roomId; calendar_chatroom.roomName = roomName; return calendar_chatroom; }