- Business/Application Model
- Business Logic
- Data Access Logic
- EF Migrations
- EF DbContext and model design
- Presentation Logic
- Unit and Integration Tests
For the DB Access there is a generic Repository (EfRepository) in the Infrastructe project. There must be one class that implements the AbstractValidator (FluentValidation) for each entity. Entities get validated on each Add/Update.
For each entity there is a Configuration class that implements the IEntityTypeConfigurator.
Mappings between Entities and Models are done with the AutoMapper.