从不同控制器调用相同方法时不加载实体框架关系子数据

时间:2018-03-16 12:58:19

标签: entity-framework linq

从不同的控制器调用相同的查询时,我关注Entity Framework的行为。

首先从FlightController加载一个数据。

enter image description here

这是从TransferController调用相同方法时的其他实例。

enter image description here

有没有人遇到过这个问题。

0 个答案:

没有答案