lfaldanam / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Add GetByPage to NHibernateRepository #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See http://groups.google.com/group/sharp-
architecture/browse_thread/thread/2c67fb48ac56cd66?hl=en for a discussion 
of this.

Original issue reported on code.google.com by wmccaffe...@gmail.com on 25 Nov 2008 at 3:51

GoogleCodeExporter commented 9 years ago
Due to the wide variety of ways in which this can be implemented (LINQ to 
NHibernate,
ICriteria, IQueryable, sorting, filtering, etc.), I do not wish to add this to 
the
SharpArch class libraries and will leave it to be an application level concern. 
 As a
few options, you can use custom repository methods, create a 
YourBaseRepository<>
which extends from Repository<>, or use extension methods to implement paging 
meeting
your application's needs.

Original comment by wmccaffe...@gmail.com on 2 May 2009 at 5:08