If you are forced to use an Anemic domain model, where do you put your business logic and calculated
- by Jess
Our current O/RM tool does not really allow for rich domain models, so we are forced to utilize anemic (DTO) entities everywhere. This has worked fine, but I continue to struggle with where to put basic object-based business logic and calculated fields.
Current layers:
Presentation
Service
Repository
Data/Entity
Our repository layer has…