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