/// <summary>
 /// Create a new ViewItemOnWarehouseOnLastBuy object.
 /// </summary>
 /// <param name="lastBuy">Initial value of the LastBuy property.</param>
 /// <param name="itemID">Initial value of the ItemID property.</param>
 public static ViewItemOnWarehouseOnLastBuy CreateViewItemOnWarehouseOnLastBuy(global::System.Int32 lastBuy, global::System.Int64 itemID)
 {
     ViewItemOnWarehouseOnLastBuy viewItemOnWarehouseOnLastBuy = new ViewItemOnWarehouseOnLastBuy();
     viewItemOnWarehouseOnLastBuy.LastBuy = lastBuy;
     viewItemOnWarehouseOnLastBuy.ItemID = itemID;
     return viewItemOnWarehouseOnLastBuy;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ViewItemOnWarehouseOnLastBuys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToViewItemOnWarehouseOnLastBuys(ViewItemOnWarehouseOnLastBuy viewItemOnWarehouseOnLastBuy)
 {
     base.AddObject("ViewItemOnWarehouseOnLastBuys", viewItemOnWarehouseOnLastBuy);
 }