让我们说,我们有一个领域,包括客户、订单和每项命令令状项目。
Thus we have in our domain model: Customer Order OrderItem
什么后果、利弊以及是否也把领域作为模式?
That is, Domain (containing several customers) Customer Order OrderItem
Perhaps it could be used to store metadata/configurations for an instance of a domain? What else?
目 录
这是否被视为一种反家长的 some?
Anyways, since this board prefers questions that can be answered and not just discussed- my question is; Is this good or bad practice? (and why?)
编辑:我刚刚认识到,如果将领域纳入领域模式,那么实际领域就会扩大,不再提及“主要”领域。