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