Entity Framework Core and Dapper Tutorial
Documentation pages made with Doxygen (with Graphviz dependency to generate the class diagrams)
Ideally, the following files should be at the Persistence layer:
- EF-CoreDapperTuto.Domain/Interfaces/IApplicationDbContext
- EF-CoreDapperTuto.Domain/Interfaces/IApplicationReadDbConnection
- EF-CoreDapperTuto.Domain/Interfaces/IApplicationWriteDbConnection
Ideally, the following files should be at the Application layer (that doesn't exist in the tutorial):
The file EF-CoreDapperTuto.API/Controllers/EmployeeController.cs contains all the implementation of the sql queries... Ideally, it should be done on the Persistence layer. Then called by another method on the Application layer, that would be used by the API layer (the controller).
Sometimes it drives me nuts... 😜