/// <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(Discounts discounts) { base.AddObject("Discounts", discounts); }
/// <summary> /// Create a new Discounts object. /// </summary> /// <param name="d_id">Initial value of the d_id property.</param> /// <param name="d_amount">Initial value of the d_amount property.</param> /// <param name="d_type">Initial value of the d_type property.</param> /// <param name="d_field">Initial value of the d_field property.</param> /// <param name="d_match">Initial value of the d_match property.</param> public static Discounts CreateDiscounts(global::System.Int32 d_id, global::System.Decimal d_amount, global::System.Int32 d_type, global::System.Int32 d_field, global::System.String d_match) { Discounts discounts = new Discounts(); discounts.d_id = d_id; discounts.d_amount = d_amount; discounts.d_type = d_type; discounts.d_field = d_field; discounts.d_match = d_match; return discounts; }