/// <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);
 }
 /// <summary>
 /// Create a new Discount object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="discountName">Initial value of the DiscountName property.</param>
 /// <param name="scopeType">Initial value of the ScopeType property.</param>
 public static Discount CreateDiscount(global::System.Int32 id, global::System.String discountName, global::System.String scopeType)
 {
     Discount discount = new Discount();
     discount.ID = id;
     discount.DiscountName = discountName;
     discount.ScopeType = scopeType;
     return discount;
 }