示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HotelServices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHotelServices(HotelService hotelService)
 {
     base.AddObject("HotelServices", hotelService);
 }
示例#2
0
 /// <summary>
 /// Create a new HotelService object.
 /// </summary>
 /// <param name="idHotel">Initial value of the idHotel property.</param>
 public static HotelService CreateHotelService(global::System.Int64 idHotel)
 {
     HotelService hotelService = new HotelService();
     hotelService.idHotel = idHotel;
     return hotelService;
 }