Linq中inlcude的作用是“返回其关联实体
Linq中inlcude的作用,返回其关联实体。
var pbocs = dbContext.ParentTable.Include(nameof(ParentTable_Attachment)).Where(p => p.DissentType == dissentType && p.LoanNo == entry.LoanNo);
当你的才华不能撑起你的野心时,就是你该选择学习的时候了!
Linq中inlcude的作用,返回其关联实体。
var pbocs = dbContext.ParentTable.Include(nameof(ParentTable_Attachment)).Where(p => p.DissentType == dissentType && p.LoanNo == entry.LoanNo);