Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3.1ABP领域层-实体.md #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Markdown/Abp/3.1ABP领域层-实体.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ABP不会强迫你使用聚合,你可以在你的应用中创建聚合以及
聚合根定义了 [DomainEvents](http://www.aspnetboilerplate.com/Pages/Documents/EventBus-Domain-Events) 的集合用来产生领域事件。在当前的工作单元完成之前,这些事件被自动的触发。事实上,通过扩展 **IGeneratesDomainEvents** 接口,任何实体都能够产生领域事件。但是,通常(最佳实践)是在聚合根中产生领域事件。这就是为什么它被定义在聚合根中而不是实体中。

### 3.1.3 接口约定
在多数应用程序中,实体一般都具有像 CreationTime 的属性,用来指示该实体是什么时候被创建的。APB 提供了一些有用的接口来实现这些类似的功能。
在多数应用程序中,实体一般都具有像 CreationTime 的属性,用来指示该实体是什么时候被创建的。ABP 提供了一些有用的接口来实现这些类似的功能。

#### 1. 审计(Auditing)

Expand Down