mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-24 01:00:59 +08:00
Updated 事务 (markdown)
4
事务.md
4
事务.md
@@ -1,8 +1,8 @@
|
||||
FreeSql提供了四种数据库事务的使用方法。
|
||||
|
||||
### 指定事务
|
||||
## 外部事务
|
||||
|
||||
CRUD 提供了 WithTransaction 指定事务对象的方法;
|
||||
适合在外部开启事务的场景,FreeSql CRUD 提供了 WithTransaction 传入事务对象。
|
||||
|
||||
```csharp
|
||||
fsql.Update<xxx>()
|
||||
|
||||
Reference in New Issue
Block a user