예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RoomCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoomCategories(RoomCategories roomCategories)
 {
     base.AddObject("RoomCategories", roomCategories);
 }
예제 #2
0
 /// <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;
 }