Not supported, iirc

Tuna Toksöz
Eternal sunshine of the open source mind.

http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike




On Wed, Aug 19, 2009 at 7:08 PM, James Crowley <[email protected]>wrote:

> Hey - can anyone give me an example of using a group by in LINQ through
> nHibernate that actually works? I still can't get this working at all, even
> something simple like this:
> return (from a in _queryService.IndexedUrlAttributeView
>                     group a by a.Name
>                     into g
>                         orderby g.Count() descending
>                         select g.Key).Take(maxCount).ToList();
>
> throws a NullReferenceException.
>
> Help!
>
> Thanks
>
> James
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to