EntityFramework Linq查询

from x in
  (from p 
in obj.PDFTemplateSet
   
where p.Status != intStatusDeleted
   select 
new
          {
             p,
             p.Service
           })
 
where x.Service.ServiceCode.Contains(strPara)
 select x.p;
原文地址:https://www.cnblogs.com/ycdx2001/p/1989957.html