Skip to content

Commit

Permalink
Merge pull request abpframework#2220 from gdlcf88/fix-zhHans-docs
Browse files Browse the repository at this point in the history
Add zh-Hans docs missing translations.
  • Loading branch information
maliming authored Nov 20, 2019
2 parents a04fbeb + 304b41e commit fbf07c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/zh-Hans/Best-Practices/Application-Services.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class IssueLabelDto

##### 详细DTO

**Do** 如果实体持有对其他聚合根的引用,那么应该为其定义**详细**DTO.
**推荐** 如果实体持有对其他聚合根的引用,那么应该为其定义**详细**DTO.

* 直接包含实体中所有的 **原始属性**.
- 例外-1: 出于**安全**原因,可以**排除**某些属性(像 `User.Password`).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static string Schema { get; set; } = AbpIdentityConsts.DefaultDbSchema;

### Model Mapping

- **Do** 重写 `DbContext``OnModelCreating` 方法显式 **配置所有实体**. 例如:
- **推荐** 重写 `DbContext``OnModelCreating` 方法显式 **配置所有实体**. 例如:

````C#
protected override void OnModelCreating(ModelBuilder builder)
Expand Down

0 comments on commit fbf07c1

Please sign in to comment.