/// <summary> /// Deprecated Method for adding a new object to the DiscountRateMSTs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDiscountRateMSTs(DiscountRateMST discountRateMST) { base.AddObject("DiscountRateMSTs", discountRateMST); }
/// <summary> /// Create a new DiscountRateMST object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="points">Initial value of the Points property.</param> /// <param name="discountRate">Initial value of the DiscountRate property.</param> public static DiscountRateMST CreateDiscountRateMST(global::System.Int64 id, global::System.Int64 points, global::System.Int16 discountRate) { DiscountRateMST discountRateMST = new DiscountRateMST(); discountRateMST.ID = id; discountRateMST.Points = points; discountRateMST.DiscountRate = discountRate; return discountRateMST; }