/// <summary> /// Deprecated Method for adding a new object to the Rooms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRooms(Room room) { base.AddObject("Rooms", room); }
/// <summary> /// Create a new Room object. /// </summary> /// <param name="roomID">Initial value of the RoomID property.</param> /// <param name="status">Initial value of the Status property.</param> public static Room CreateRoom(global::System.String roomID, global::System.Boolean status) { Room room = new Room(); room.RoomID = roomID; room.Status = status; return room; }