Page 1 of 1

OrderItemRepository.cs question

Posted: Fri Jun 07, 2013 9:22 am
by AbleMods
Take a quick look at the code in this method in OrderItemRepository.cs

Code: Select all

        public IList<OrderItem> LoadForOrderItemType(OrderItemType orderItemType, DateTime startDate, DateTime endDate, int maximumRows, int startRowIndex)
At first glance, it appears to pull order items by order date range. Handy.

Except there's no nHibernate join in the criteria and the query fails.

Am I missing something?