/// <summary>
 /// Deprecated Method for adding a new object to the QuoteDiscounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToQuoteDiscounts(QuoteDiscount quoteDiscount)
 {
     base.AddObject("QuoteDiscounts", quoteDiscount);
 }
 /// <summary>
 /// Create a new QuoteDiscount object.
 /// </summary>
 /// <param name="discountId">Initial value of the DiscountId property.</param>
 /// <param name="stateId">Initial value of the StateId property.</param>
 /// <param name="quoteId">Initial value of the QuoteId property.</param>
 /// <param name="appliedDiscountValue">Initial value of the AppliedDiscountValue property.</param>
 public static QuoteDiscount CreateQuoteDiscount(global::System.Int32 discountId, global::System.Int32 stateId, global::System.Int32 quoteId, global::System.Decimal appliedDiscountValue)
 {
     QuoteDiscount quoteDiscount = new QuoteDiscount();
     quoteDiscount.DiscountId = discountId;
     quoteDiscount.StateId = stateId;
     quoteDiscount.QuoteId = quoteId;
     quoteDiscount.AppliedDiscountValue = appliedDiscountValue;
     return quoteDiscount;
 }