update

28810
2020-04-24 22:42:35 +08:00
parent 17d62057cd
commit 5580b1e4f3

@@ -1,4 +1,4 @@
## 1、UnitOfWork + Repository
## 1、UnitOfWork 事务
```csharp
using (var uow = fsql.CreateUnitOfWork()) {
@@ -14,7 +14,7 @@ using (var uow = fsql.CreateUnitOfWork()) {
参考:[在 asp.net core 中使用 TransactionalAttribute + UnitOfWorkManager 实现多种事务传播](https://github.com/dotnetcore/FreeSql/issues/289)
## 2、DbContext
## 2、DbContext 事务
```csharp
using (var ctx = fsql.CreateDbContext()) {