Domain Modeling - Anemic Models

added by DotNetKicks
5/11/2022 8:10:59 PM

226 Views

Date Published: 11 May 2022 When building a domain model, proper object-oriented design and encapsulation should be applied as much as possible. Some teams choose to intentionally create anemic models with little encapsulation, which can lead to problems. Some of my past NimblePros clients have even had coding conventions and standards that basically required every domain entity be essentially a DTO, with no methods and a bunch of public properties.


0 comments