Hi it is the case that most of the Rhino developers are also part of this
group, but i think that it is better to ask the question in their group.

Gustavo.

On Thu, Nov 27, 2008 at 2:56 PM, Terence Lewis <[EMAIL PROTECTED]> wrote:

> Hello,
>
>
> I'm using NHibernate Query Generator on top of ActiveRecord and so far
> things have been working really well.
>
> However, now I've run into a scenario where I need to do approximately the
> following:
>
> "SELECT DISTINCT (ColumnX) from TableY"
>
> and I can't work out how to do this using NHQG syntax.
>
> I've tried using the FindAll method on my ActiveRecord model object, but I
> think because I'm only returning one column, and not the entire object, the
> FindAll call breaks (I think it's expecting to hydrate a bunch of
> ObjectY's). I'm also not sure if I've got the code right for the ICriteria
> I'm currently passing to the FindAll method, so if somebody can point me in
> the right direction I'd appreciate it greatly.
>
>
>
> Thanks
>
>
> Terence
>
> >
>

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