IMO there isn't "the best" and this is the beautiful thing of our world (the software).Repository(Queryable), Repository+QueryObject, DAO, DAO+QueryObject simply choose the one is more closer to your needs
2009/9/7 Cesar Sanz <[email protected]> > So... This is the big question.. > > Is NHibernate designed to work with the repository pattern? > > Or, wich is the best (recommended by you, the nhibernte designer) the best > approach? > QueryObjects, DAO.. .other? > > > ----- Original Message ----- > *From:* Fabio Maulo <[email protected]> > *To:* [email protected] > *Sent:* Monday, September 07, 2009 11:07 AM > *Subject:* [nhusers] Re: Query Object Pattern > > 2009/9/7 Jason Dentler <[email protected]> > >> Raw NH ICriteria query objects work for Ayende. It looks like a leak to >> me, but I'm new. > > > How many tiers should have a reference to NHibernate ? > > -- > Fabio Maulo > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
