/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the discounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTodiscounts(discount discount) { base.AddObject("discounts", discount); }