mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-11 19:01:00 +08:00
Updated Repository (markdown)
@@ -42,7 +42,8 @@ public class Song {
|
|||||||
var curd = fsql.GetRepository<Song>();
|
var curd = fsql.GetRepository<Song>();
|
||||||
```
|
```
|
||||||
|
|
||||||
> 注意:Repository对象多线程不安全
|
> 注意:Repository对象多线程不安全,因此不应在多个线程上同时对其执行工作。
|
||||||
|
- 不支持从不同的线程同时使用同一仓储实例
|
||||||
|
|
||||||
方法2、继承实现;
|
方法2、继承实现;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user