/// <summary> /// Create a new bvc_ProductVolumeDiscounts object. /// </summary> /// <param name="bvin">Initial value of the bvin property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="qty">Initial value of the Qty property.</param> /// <param name="discountType">Initial value of the DiscountType property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> public static bvc_ProductVolumeDiscounts Createbvc_ProductVolumeDiscounts(global::System.String bvin, global::System.String productID, global::System.Int32 qty, global::System.Int32 discountType, global::System.Decimal amount, global::System.DateTime lastUpdated, global::System.Int64 storeId) { bvc_ProductVolumeDiscounts bvc_ProductVolumeDiscounts = new bvc_ProductVolumeDiscounts(); bvc_ProductVolumeDiscounts.bvin = bvin; bvc_ProductVolumeDiscounts.ProductID = productID; bvc_ProductVolumeDiscounts.Qty = qty; bvc_ProductVolumeDiscounts.DiscountType = discountType; bvc_ProductVolumeDiscounts.Amount = amount; bvc_ProductVolumeDiscounts.LastUpdated = lastUpdated; bvc_ProductVolumeDiscounts.StoreId = storeId; return bvc_ProductVolumeDiscounts; }
/// <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); }