update

28810
2019-09-10 10:15:43 +08:00
parent a1d63897ab
commit f302b0a29b
2 changed files with 4 additions and 0 deletions

@@ -18,6 +18,8 @@ using (var ctx = fsql.CreateDbContext()) {
}
```
> 注意DbContext 对象多线程不安全
1、在 OnConfiguring 方法上配置与 IFreeSql 关联
```csharp

@@ -28,6 +28,8 @@ var curd1 = fsql.GetRepository<Song, int>();
var curd2 = fsql.GetGuidRepository<Song>();
```
> 注意BaseRepository 对象多线程不安全
2、继承现实
```csharp