/// <summary> /// Deprecated Method for adding a new object to the bvc_ProductInventory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_ProductInventory(bvc_ProductInventory bvc_ProductInventory) { base.AddObject("bvc_ProductInventory", bvc_ProductInventory); }
/// <summary> /// Create a new bvc_ProductInventory object. /// </summary> /// <param name="bvin">Initial value of the bvin property.</param> /// <param name="productBvin">Initial value of the ProductBvin property.</param> /// <param name="variantId">Initial value of the VariantId property.</param> /// <param name="quantityOnHand">Initial value of the QuantityOnHand property.</param> /// <param name="quantityReserved">Initial value of the QuantityReserved property.</param> /// <param name="lowStockPoint">Initial value of the LowStockPoint 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_ProductInventory Createbvc_ProductInventory(global::System.String bvin, global::System.String productBvin, global::System.String variantId, global::System.Int32 quantityOnHand, global::System.Int32 quantityReserved, global::System.Int32 lowStockPoint, global::System.DateTime lastUpdated, global::System.Int64 storeId) { bvc_ProductInventory bvc_ProductInventory = new bvc_ProductInventory(); bvc_ProductInventory.bvin = bvin; bvc_ProductInventory.ProductBvin = productBvin; bvc_ProductInventory.VariantId = variantId; bvc_ProductInventory.QuantityOnHand = quantityOnHand; bvc_ProductInventory.QuantityReserved = quantityReserved; bvc_ProductInventory.LowStockPoint = lowStockPoint; bvc_ProductInventory.LastUpdated = lastUpdated; bvc_ProductInventory.StoreId = storeId; return bvc_ProductInventory; }