/// <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="room_id">Initial value of the room_id property.</param> /// <param name="building_id">Initial value of the building_id property.</param> public static room Createroom(global::System.Int32 room_id, global::System.Int32 building_id) { room room = new room(); room.room_id = room_id; room.building_id = building_id; return room; }