mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-04 15:30:53 +08:00
update
2
事务.md
2
事务.md
@@ -58,7 +58,7 @@ fsql.Transaction(() =>
|
||||
|
||||
## 3、UnitOfWork + Repository
|
||||
|
||||
可将多个 Repository 放在一个 UnitOfWork 管理执行,UnitOfWork 内部采用了数据库事务;
|
||||
可将多个 Repository 放在一个 UnitOfWork 管理执行,UnitOfWork 内部实现使用了数据库事务;
|
||||
|
||||
```csharp
|
||||
using (var uow = fsql.CreateUnitOfWork()) {
|
||||
|
||||
Reference in New Issue
Block a user