/// <summary> /// Deprecated Method for adding a new object to the inventory_discount EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinventory_discount(inventory_discount inventory_discount) { base.AddObject("inventory_discount", inventory_discount); }
/// <summary> /// Create a new inventory_discount object. /// </summary> /// <param name="id">Initial value of the id property.</param> public static inventory_discount Createinventory_discount(global::System.Int32 id) { inventory_discount inventory_discount = new inventory_discount(); inventory_discount.id = id; return inventory_discount; }