What's an Aggregate Root?

前端 未结 11 1474
臣服心动
臣服心动 2020-11-22 04:18

I\'m trying to get my head around how to properly use the repository pattern. The central concept of an Aggregate Root keeps coming up. When searching both the web and Stack

11条回答
  •  深忆病人
    2020-11-22 04:29

    From a broken link:

    Within an Aggregate there is an Aggregate Root. The Aggregate Root is the parent Entity to all other Entities and Value Objects within the Aggregate.

    A Repository operates upon an Aggregate Root.

    More info can also be found here.

提交回复
热议问题