Hi, I'm using trunk and trying to get the sum of a property over a row set: session.Query<ClassA>().Sum(a => a.PropertyX)
This works fine as long as the row set is not empty. When the row set is empty, the query fails because of an attempt to add null to a list. Presumably, this happens because the behaviour of SQL (or is it just T- SQL) is to return NULL in this case. Is this a bug, and if not, how should I handle this case? Thanks, Chris -- 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.
