← 返回卡片

原书出处

Domain-Driven Design Tackling Complexity in the Heart of Software

56 原书第07章|Object Creation

核验版本的摘录快照 · 导入于 2026-11-14T03:12:56.393Z

, from Cargo to Delivery History to History Event and back to Cargo, complicates instance creation.

The Delivery History holds a collection of Handling Events relevant to its Cargo, and the new object must be added to this collection as part of the transaction. If this back-pointer were not created, the objects would be inconsistent.

Figure 7.5. Adding a Handling Event requires inserting it into a Delivery History. Creation of the

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch07lev1sec8.html

EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce