/// <summary> /// Deprecated Method for adding a new object to the RoomCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoomCategories(RoomCategories roomCategories) { base.AddObject("RoomCategories", roomCategories); }
/// <summary> /// Create a new RoomCategories object. /// </summary> /// <param name="roomCategoriesId">Initial value of the RoomCategoriesId property.</param> public static RoomCategories CreateRoomCategories(global::System.Int32 roomCategoriesId) { RoomCategories roomCategories = new RoomCategories(); roomCategories.RoomCategoriesId = roomCategoriesId; return roomCategories; }