From e062b020ed7f71a38b148faef6925555eefadfa0 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Thu, 17 Sep 2020 11:22:22 +0800 Subject: [PATCH] Update document --- docs/en/MongoDB.md | 2 +- docs/zh-Hans/MongoDB.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/MongoDB.md b/docs/en/MongoDB.md index 509aee1fe3..ac6db61198 100644 --- a/docs/en/MongoDB.md +++ b/docs/en/MongoDB.md @@ -279,7 +279,7 @@ public class BookService Starting from version 4.0, MongoDB supports transactions. ABP added support for MongoDB transactions in version 3.2. If you upgrade the project to version 3.2. You need add [MongoDbSchemaMigrator](https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MongoDbMyProjectNameDbSchemaMigrator.cs) to your `.MongoDB` project. -If you are using MongoDB server version less then v4.0, you need disabled the unit of work manually: +If you are using MongoDB server version less then v4.0, you need disabled the `transaction` of unit of work manually: ```csharp Configure(options => diff --git a/docs/zh-Hans/MongoDB.md b/docs/zh-Hans/MongoDB.md index db023f2e2b..12755cdff5 100644 --- a/docs/zh-Hans/MongoDB.md +++ b/docs/zh-Hans/MongoDB.md @@ -237,7 +237,7 @@ public class BookService MongoDB在4.0版本开始支持事务, ABP在3.2版本加入了对MongoDb事务的支持. 如果你升级到3.2版本,需要将[MongoDbSchemaMigrator](https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.MongoDB/MongoDb/MongoDbMyProjectNameDbSchemaMigrator.cs)添加到你的 `.MongoDB` 项目中. -如果你在使用4.0版本之前的MongdoDB数据库,你需要手动禁用工作单元: +如果你在使用4.0版本之前的MongdoDB数据库,你需要手动禁用工作单元的事务: ```csharp Configure(options =>