/// <summary> /// Deprecated Method for adding a new object to the RoomTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoomTypes(RoomType roomType) { base.AddObject("RoomTypes", roomType); }
/// <summary> /// Create a new RoomType object. /// </summary> /// <param name="roomTypeID">Initial value of the RoomTypeID property.</param> /// <param name="value">Initial value of the Value property.</param> public static RoomType CreateRoomType(global::System.Int32 roomTypeID, global::System.String value) { RoomType roomType = new RoomType(); roomType.RoomTypeID = roomTypeID; roomType.Value = value; return roomType; }