-
When we have an instance of aggregate object, we expect it to have all child objects are also filled. For example if we instantiate a meeting object, we want to be sure atendees of meeting are also get. For the code below, we get the meeting from database without including their children entities. So I expect meeting.AddAtendee to not work properly. Am I missing something here? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @sbolum Each collection and complex type is mapped using Owned Entity Types. It means that always everything is loaded using eager loading technique:
Please check it here: |
Beta Was this translation helpful? Give feedback.
Hi @sbolum
Each collection and complex type is mapped using Owned Entity Types. It means that always everything is loaded using eager loading technique:
Please check it here:
modular-monolith-with-ddd/src/Modules/Meetings/Infrastructure/Domain/Meet…