要想使用领域设计方法,你就需要为实体类定义和构建资源库来实现领域对象的持久化。
Using a domain driven design approach you will need to define and build repositories for the entities that make up your domain.
甚至在某些场合可以生成(当特定设计模式已被应用)行为(方法实体)。
In some instances, even the behavior (method bodies) can be generated (when a specific design pattern has been applied).
相反,我们的方法规定如果设计是必需的则要分离逻辑和物理,但是如果并不要求设计是必需的,则允许你将一个实体视为一个黑盒子。
On the contrary, our approach prescribes logical and physical separation if design is required but allows you to treat an entity as a black box if no design is needed.
应用推荐