示例#1
0
 /// <summary>
 /// Create a new discount object.
 /// </summary>
 /// <param name="discounttype">Initial value of the discounttype property.</param>
 /// <param name="discount1">Initial value of the discount1 property.</param>
 public static discount Creatediscount(global::System.String discounttype, global::System.Decimal discount1)
 {
     discount discount = new discount();
     discount.discounttype = discounttype;
     discount.discount1 = discount1;
     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);
 }