Why use Repository Pattern or please explain it to me?
I don’t think you should. The Entity Framework is already an abstraction layer over your database. The context uses the unit of work pattern and each DBSet is a repository. Adding a Repository pattern on top of this distances you from the features of your ORM. I talked about this in my blog post: http://www.nogginbox.co.uk/blog/do-we-need-the-repository-pattern … Read more