/// <summary>
 /// Deprecated Method for adding a new object to the ShipmentProductStockSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShipmentProductStockSet(ShipmentProductStock shipmentProductStock)
 {
     base.AddObject("ShipmentProductStockSet", shipmentProductStock);
 }
 /// <summary>
 /// Create a new ShipmentProductStock object.
 /// </summary>
 /// <param name="productShipmentId">Initial value of the ProductShipmentId property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 public static ShipmentProductStock CreateShipmentProductStock(global::System.Int32 productShipmentId, global::System.Int32 productId, global::System.Int32 amount)
 {
     ShipmentProductStock shipmentProductStock = new ShipmentProductStock();
     shipmentProductStock.ProductShipmentId = productShipmentId;
     shipmentProductStock.ProductId = productId;
     shipmentProductStock.Amount = amount;
     return shipmentProductStock;
 }