说说EF Core使用ThenInclude方法

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

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

 

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

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

posted @ 2018-11-14 11:12  狂乱贵公子  阅读(5359)  评论(3编辑  收藏  举报