当你的才华不能撑起你的野心时,就是你该选择学习的时候了!

Linq中inlcude的作用是“返回其关联实体

Linq中inlcude的作用,返回其关联实体。

var pbocs = dbContext.ParentTable.Include(nameof(ParentTable_Attachment)).Where(p => p.DissentType == dissentType && p.LoanNo == entry.LoanNo);

 

posted @ 2022-11-04 16:56  hofmann  阅读(102)  评论(0)    收藏  举报