コード例 #1
0
 public static IStockRoomItems GetStockRoomItem(StockRoom stockRoom, StockItem stockItem, int quantity)
 {
     if (newStockRoomItem != null)
     {
         return newStockRoomItem;
     }
     else
     {
         return new StockRoomItems(stockRoom, stockItem, quantity);
     }
 }
コード例 #2
0
 public StockOrderItems(StockOrder stockOrderId,StockItem stockItemId,int quantityOnOrder)
 {
     this.stockOrderId = stockOrderId;
     this.stockItemId = stockItemId;
     this.quantityOnOrder = quantityOnOrder;
 }
コード例 #3
0
 public StockRoomItems(StockRoom stockRoom, StockItem stockItem, int quantity)
 {
     this.StockRoom = stockRoom;
     this.StockItem = stockItem;
     this.Quantity = quantity;
 }