public void AddToItemWarehousePrices(ItemWarehousePrice itemWarehousePrice)
 {
     base.AddObject("ItemWarehousePrices", itemWarehousePrice);
 }
 public static ItemWarehousePrice CreateItemWarehousePrice(
             int itemID, 
             int warehouseID, 
             string currencyCode, 
             int priceTypeID, 
             decimal price, 
             decimal commissionableVolume, 
             decimal businessVolume, 
             decimal other1Price, 
             decimal other2Price, 
             decimal other3Price, 
             decimal other4Price, 
             decimal other5Price, 
             decimal other6Price, 
             decimal other7Price, 
             decimal other8Price, 
             decimal other9Price, 
             decimal other10Price)
 {
     ItemWarehousePrice itemWarehousePrice = new ItemWarehousePrice();
     itemWarehousePrice.ItemID = itemID;
     itemWarehousePrice.WarehouseID = warehouseID;
     itemWarehousePrice.CurrencyCode = currencyCode;
     itemWarehousePrice.PriceTypeID = priceTypeID;
     itemWarehousePrice.Price = price;
     itemWarehousePrice.CommissionableVolume = commissionableVolume;
     itemWarehousePrice.BusinessVolume = businessVolume;
     itemWarehousePrice.Other1Price = other1Price;
     itemWarehousePrice.Other2Price = other2Price;
     itemWarehousePrice.Other3Price = other3Price;
     itemWarehousePrice.Other4Price = other4Price;
     itemWarehousePrice.Other5Price = other5Price;
     itemWarehousePrice.Other6Price = other6Price;
     itemWarehousePrice.Other7Price = other7Price;
     itemWarehousePrice.Other8Price = other8Price;
     itemWarehousePrice.Other9Price = other9Price;
     itemWarehousePrice.Other10Price = other10Price;
     return itemWarehousePrice;
 }