/// <summary> /// Deprecated Method for adding a new object to the HotelServices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHotelServices(HotelService hotelService) { base.AddObject("HotelServices", hotelService); }
/// <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; }