update

2881099
2022-07-14 10:09:05 +08:00
parent 546d031cbe
commit 4b8ce6c641
2 changed files with 4 additions and 0 deletions

@@ -14,6 +14,8 @@ With navigation properties, multi-table query is very convenient. Directly using
> Warm up note: to load navigation attributes, you need to solve the problem of dead cycle reference. When the reference relationship is very complex, it may lead to the failure of using navigation attributes for the first time. The second time is enough. The solution is to preheat all entity classes when the program starts, and while execute fsql.Select\<object\>().Astype (entity type);
OneToMany/ManyToMany supported by collection navigation properties: ICollection\<T\>、List\<T\>、ObservableCollection\<T\>
## Custom Navigation Relationship
```csharp

@@ -14,6 +14,8 @@
> 预热说明:导航属性加载,因为要解决死循环引用问题,当引用关系很复杂的时候,有可能导致首次使用导航属性失败,第二次就可以了。解决办法可以程序启动时就预热所有实体类,循环执行 fsql.Select\<object\>().AsType(实体类);
OneToMany/ManyToMany 集合导航属性支持的类型ICollection\<T\>、List\<T\>、ObservableCollection\<T\>
# 自定义导航关系
```csharp