I currently have a queryover query in NH 3.1 that is trying to project a set of columns. This query works when viewing the first page of the result set, but fails when trying to view any of the other pages in the result set. I have inspected the generated query in nhprofiler and I have noticed that the problem seems to as a result of including a component property in my projection. the query generator generates the correct sub query to page but only selects the columns that are not apart of the component.
I have tried to explicitly project each column in the component and this has not worked. Whats interesting though is if I port the query to LINQ the correct query is generated and the components columns are correctly selected from the subquery. Is this a defect in 3.1 that has been fixed in 3.2 or is this a limitation? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
