/// <summary> /// Deprecated Method for adding a new object to the bvc_ProductVolumeDiscounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_ProductVolumeDiscounts(bvc_ProductVolumeDiscounts bvc_ProductVolumeDiscounts) { base.AddObject("bvc_ProductVolumeDiscounts", bvc_ProductVolumeDiscounts); }
/// <summary> /// Create a new bvc_ProductVolumeDiscounts object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="qty">Initial value of the Qty property.</param> /// <param name="price">Initial value of the Price property.</param> public static bvc_ProductVolumeDiscounts Createbvc_ProductVolumeDiscounts(global::System.Int32 id, global::System.String productID, global::System.Int32 qty, global::System.Double price) { bvc_ProductVolumeDiscounts bvc_ProductVolumeDiscounts = new bvc_ProductVolumeDiscounts(); bvc_ProductVolumeDiscounts.ID = id; bvc_ProductVolumeDiscounts.ProductID = productID; bvc_ProductVolumeDiscounts.Qty = qty; bvc_ProductVolumeDiscounts.Price = price; return bvc_ProductVolumeDiscounts; }