0
Vote

Think about creating a "IQueryableRepository"

description

Think about create an internal IRepositoryBase<T> with only a IUnitOfWork member and create two public interfaces IRepository and IFilteringRepository (or IQueryableRepository, or IExtendedRepository) by example. In the IFiteringRepository interface add the methods: GetFiltered, GetPaged, GetBySpecification.
  • Think about the Dependecy Injection in these generic interfaces

comments

wrote Jul 3, 2012 at 2:43 AM

Associated with changeset 14826.

wrote Feb 13, 2013 at 2:23 AM