mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 08:20:52 +08:00
Updated DbContext (markdown)
@@ -14,7 +14,7 @@ FreeSql.DbContext 实现类似 EFCore 使用习惯,跟踪对象状态,最终
|
||||
## 如何使用
|
||||
|
||||
0、通用方法,为啥是0???
|
||||
```
|
||||
```csharp
|
||||
using (var ctx = fsql.CreateDbContext()) {
|
||||
//var db1 = ctx.Set<Song>();
|
||||
//var db2 = ctx.Set<Tag>();
|
||||
|
||||
Reference in New Issue
Block a user