DDD - Consistency of Entity Across Bounded Context & Different Schemas in Database

c# domain-driven-design entity-framework entity-framework-6

Popular Answer

The record-keeping system for your object will only be one specific constrained context. You can provide a portion of the entity (often not all the properties) as a value object if you cannot get away with using only an Id in the other BCs.

To retain the downstream BCs' data eventually reliable, any changes to the object in the SOR should be communicated as one or more events in a messaging system that they subscribe to.

8
6/30/2016 4:17:15 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow