/// <summary> /// Create a new Discount object. /// </summary> /// <param name="idHotel">Initial value of the idHotel property.</param> public static Discount CreateDiscount(global::System.Int64 idHotel) { Discount discount = new Discount(); discount.idHotel = idHotel; return discount; }
/// <summary> /// Deprecated Method for adding a new object to the Discounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDiscounts(Discount discount) { base.AddObject("Discounts", discount); }