/// <summary>
 /// Create a new ExDiscount object.
 /// </summary>
 /// <param name="discountType">Initial value of DiscountType.</param>
 public static ExDiscount CreateExDiscount(long discountType)
 {
     ExDiscount exDiscount = new ExDiscount();
     exDiscount.DiscountType = discountType;
     return exDiscount;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ExDiscounts EntitySet.
 /// </summary>
 public void AddToExDiscounts(ExDiscount exDiscount)
 {
     base.AddObject("ExDiscounts", exDiscount);
 }