private IList<OrderDetailView> ConvertToList(IList list)
        {
            IList<OrderDetailView> orderDetailViewList = new List<OrderDetailView>();
            if (list != null && list.Count > 0)
            {
                foreach (object obj in list)
                {
                    OrderDetailView orderDetailView = new OrderDetailView();
                    orderDetailView.Item = (Item)((object[])obj)[0];
                    orderDetailView.Uom = (string)((object[])obj)[1];
                    orderDetailView.ReceivedQty = (decimal)((object[])obj)[2];
                    orderDetailViewList.Add(orderDetailView);
                }
            }

            return orderDetailViewList;
        }
 public virtual void DeleteOrderDetailView(OrderDetailView entity)
 {
     entityDao.DeleteOrderDetailView(entity);
 }
 public virtual void UpdateOrderDetailView(OrderDetailView entity)
 {
     entityDao.UpdateOrderDetailView(entity);
 }
 public virtual void CreateOrderDetailView(OrderDetailView entity)
 {
     entityDao.CreateOrderDetailView(entity);
 }
 public virtual void DeleteOrderDetailView(OrderDetailView entity)
 {
     Delete(entity);
 }
 public virtual void UpdateOrderDetailView(OrderDetailView entity)
 {
     Update(entity);
 }
 public virtual void CreateOrderDetailView(OrderDetailView entity)
 {
     Create(entity);
 }