Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Discounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDiscounts(Discount discount)
 {
     base.AddObject("Discounts", discount);
 }