Some time back I started using EF as a DAL and from tutorials and videos come to know about repository pattern and Unit of work patterns.
About repository I learned it is an abstraction over DAL and it separate business logic from data access code. Also that it avoid reputation of data access code and help in unit testing.
I understand repository pattern is a particular way of making DAL. But what it brings ? I am not getting. My confusion is just making a DAL (a separate class library/ project) it will also give these benefits (separate data access logic from business logic, save data access code reputation, help in unit testing etc).
Probably I am still missing benefits of repository patren. Please guide me on this.