Started as an internal tool while working on Genesis to abstract away the complexity of Entity Framework Core, EfLight is a NuGet package that provides a set of extension methods and abstractions built on top of Entity Framework Core to reduce the boilerplate code needed to interact with a relational database.
This package is inspired from JPA and Spring Data JPA, thus providing classes like: CrudRepository
and PagingAndSortingRepository
.
You can also control your repositories lifetime in your application by using the RepositoryLifetime
attribute.