← 返回卡片

原书出处

Learning Domain-Driven Design

05 实现简单业务逻辑

First Edition · 核验版本的摘录快照 · 导入于 2026-11-14T06:04:05.294Z

As in the previous example, there is no simple fix for this issue. It all depends on the business domain and its needs. In this specific example, one way to ensure transactional behavior is to make the operation idempotent: that is, leading to the same result even if the operation repeated multiple times. For example,

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

原书定位详情

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

正文位置:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch05.html

EPUB SHA-256:da8d47219d6910f6431498e98b9fadfbdadc1cb0e3004bae825392a2c6abc846