How to use EF Core in a separate class library project
How to use Entity Framework Core and separate your Database logic from your business logic by using separate class library projects
How to use Entity Framework Core and separate your Database logic from your business logic by using separate class library projects