Tag: architecture

asp.net – Advantage of creating a generic repository vs. specific repository for each object?

The Question : 132 people think this question is useful We are developing an ASP.NET MVC application, and are now building the repository/service classes. I’m wondering if there are any major advantages to creating a generic IRepository interface that all repositories implement, vs. each Repository having its own unique interface and set of methods. For