From 304b41efe8c8bbe4f9b757d2da42e1a679171388 Mon Sep 17 00:00:00 2001 From: gdlcf88 <47396430@qq.com> Date: Wed, 20 Nov 2019 17:04:14 +0800 Subject: [PATCH] Add zh-Hans docs missing translations. --- docs/zh-Hans/Best-Practices/Application-Services.md | 2 +- .../zh-Hans/Best-Practices/Entity-Framework-Core-Integration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/zh-Hans/Best-Practices/Application-Services.md b/docs/zh-Hans/Best-Practices/Application-Services.md index 342d7cc3bb..6c8d11b32b 100644 --- a/docs/zh-Hans/Best-Practices/Application-Services.md +++ b/docs/zh-Hans/Best-Practices/Application-Services.md @@ -45,7 +45,7 @@ public class IssueLabelDto ##### 详细DTO -**Do** 如果实体持有对其他聚合根的引用,那么应该为其定义**详细**DTO. +**推荐** 如果实体持有对其他聚合根的引用,那么应该为其定义**详细**DTO. * 直接包含实体中所有的 **原始属性**. - 例外-1: 出于**安全**原因,可以**排除**某些属性(像 `User.Password`). diff --git a/docs/zh-Hans/Best-Practices/Entity-Framework-Core-Integration.md b/docs/zh-Hans/Best-Practices/Entity-Framework-Core-Integration.md index 1e59793a7f..3dd687be53 100644 --- a/docs/zh-Hans/Best-Practices/Entity-Framework-Core-Integration.md +++ b/docs/zh-Hans/Best-Practices/Entity-Framework-Core-Integration.md @@ -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)