There's an IRepository in Fluent NHibernate too. On Thu, Apr 2, 2009 at 11:06 AM, Martin Hornagold < [email protected]> wrote:
> > Jon, > > I think you've got your frameworks mixed up. > IRepository is in S#arpArch :) > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Jon Kruger > Sent: 02 April 2009 16:04 > To: Fluent NHibernate > Subject: [fluent-nhib] Adding FindAll<T>() and Query<T>() to > IRepository? > > > On my project, I ended up creating my own interface that derives from > IRepository because I wanted two more methods: > > IList<T> FindAll<T>() where T : Entity; > IQueryable<T> Query<T>(); // returns the entire list as > IQueryable<T> > > Anyone else doing this? Anyone see value in adding to the IRepository > in FNH, or would that be too much of a breaking change? > > Jon > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
