Been looking every where for a tutorial or something.
I\'ve been trying to implement my old generic repository pattern for MVC5 into a new MVC6 project.
I set up
In Entity Framework 7 IDbSet
itself represents an implementation of Repository pattern.
///
/// A DbContext instance represents a session with the database and can be used to query and save
/// instances of your entities. DbContext is a combination of the Unit Of Work and Repository patterns.
///
Source: GitHub EntityFramework7 repo, DbContext.cs 24-27 line
And DBContext
it's implementation of UnitOfWork