说说EF Core使用ThenInclude方法

ThenInclude方法有个智能识别的问题。

Include(t=> t.nuts).ThenInclude(t=> t.Children)

在ThenInclude Lamb表达式中是点不出这个Children的。 这就是vs智能识别上的问题。

手动写入也是能编译过的。

原文地址:https://www.cnblogs.com/saving/p/9956906.html