DDD and EF Core 2 RRS feed

  • Question

  • I have a single DDD aggregate root with many entities.  My entities have significant business logic:

    1) An individual entity may need information from other entities to do its business logic, work.  For example I am modeling a fluid, I have a fluid agg root, with molecular component entities.  One molecular component entity might need to know about characteristics of another.  Can one entity have a handle to others, or even to the containing aggregate root (i.e., so as to access a domain logic runtime determined entity)?  If so, is there a pattern for access?

    2) If my DDD system has a single aggregate root (e.g., fluid) and therefore a single repository, is it worth modeling a Unit of Work?

    Thanks in advance.

    Monday, April 15, 2019 5:48 PM

All replies