Applying domain driven desing I am confused a bit. I am using C# and Java
I have layers like this:
- Domain
- ApplicationService
- DataLayer
- PresentationLayer
ApplicationService layer is between presentation and Data layer. AppplicationService gets data from Data layer and converts it a PresentationDTO object and sends to presentation layer.
Do I need a new data transfer object (EntityFrameworkDTO) between ApplicationService and Data layer. Should I generate DTOs to use in repositories, or directly use domain entities in repository layer?
Have you ever applied Domain Driven Design?