Is it possible to generate a *single* query to the database, like: select sum(x.value), count(*) from sometable
With NHibernate Linq? I was able to do this with HQL and with QueryOver using ProjectionList, but I can't seem to be able to find how to do it with Linq. Note that there's no grouping involved, I believe that if I had a grouping I could've used GroupBy() and the query would've gotten translated properly into one database hit. If I need to tap into some deeply hidden Linq to HQL converters to do it, it's fine, if only someone could point me in the right direction. Thanks! -- 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.
