示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vDiscounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovDiscounts(vDiscount vDiscount)
 {
     base.AddObject("vDiscounts", vDiscount);
 }
示例#2
0
 /// <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;
 }