Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 473695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:12:46+00:00 2026-05-13T00:12:46+00:00

Being confused again after reading about this anti-pattern and the many concerns about it

  • 0

Being confused again after reading about this anti-pattern and the many concerns about it here on SO.

If I have a domain model and capture the data that must be persisted in a data transfer object, does that make my domain model a wrapper around the data? In that case I would be using an anemic domain model. But if I add enough domain logic on that wrapper, at what point does it become a real domain model then?

I get the impression that capturing what must be persisted in a domain model violates good practice and creates the anemic domain model anti-pattern. Yet if you use a relational DB there’s no way to avoid to single out the part that makes the state of the object and save it.

Since I’m pretty confused about the concepts I’m not sure that what I write makes sense. Feel free to ask clarification.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:12:46+00:00Added an answer on May 13, 2026 at 12:12 am

    It becomes a ‘real’ domain model when it contains all (or most) of the behaviour that makes up the business domain (note I’m emphasising business logic, not UI or other orthogonal concerns).

    If you’re using the Ubiquitous Language, and getting constant feedback from your domain experts, you’ll know that you’re on the right track (experts should nod when they see your domain model). If you’re not doing these things, you’re not doing DDD (Eric Evans speak about it).

    Onto the point of DTOs: Don’t ignore them. From an implementation perspective, you’ll need them to ferry data between layers/tiers. How you combine DTOs and true Domain Objects really depends on the technology you’re using.

    As alluded to in an earlier answer, maybe your focus on data and persistence is distracting you from true domain modelling…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm being completely confused here folks, My code throws an exception because File.Exists() returns
From this site: http://www.catalinzima.com/?page_id=14 I've always been confused about how the depth map is
I always get confused with licenses, I'm reading up again, but I'm sure someone
I'm a little confused about when exactly my Property is being initialized. Suppose I
Being fairly new to the .Net world, I am getting very confused about where
I have two scopes with right outer joins declared on my User model. Here
I am getting confused between TCP being Connection oriented and UDP being connectionless so
I'm confused as to the difference. Being fairly new to .Net, I know I
I have a problem that confuses my users, being that although an item is
Being stuck with a legacy database schema that no longer reflects your data model

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.