From a2c406c0b6b5dfa75385df2ef973ef4bdcb56566 Mon Sep 17 00:00:00 2001 From: 2881099 <2881099@users.noreply.github.com> Date: Mon, 13 Jun 2022 23:05:27 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E5=AE=9E=E4=BD=93=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 实体关系.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/实体关系.md b/实体关系.md index 1e3149d..f3c910f 100644 --- a/实体关系.md +++ b/实体关系.md @@ -12,6 +12,8 @@ [《导航属性【到底】可以解决什么问题?》](https://www.cnblogs.com/kellynic/p/13575053.html) +> 预热说明:导航属性加载,因为要解决死循环引用问题,当引用关系很复杂的时候,有可能导致首次使用导航属性失败,第二次就可以了。解决办法可以程序启动时就预热所有实体类,循环执行 fsql.Select\().AsType(实体类); + # 自定义导航关系 ```csharp