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;

你可能感兴趣的:(framework)