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