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