.net - Expression Trees and Joins -


expression<func<account, ienumerable<attachment>>> attachments =  t => attachmentbuilder.populate("companyname", t.accountid.tostring());   var q = cxt.accounts.select(e => new  {     accountid = e.accountid,         description = e.accountdescription,  }); 

what ideally want join attachments expression (results) q (accounts- ienumerable) can filter accountid dynamically passed ui "t.accountid.tostring()" dont want use sub query have loads of attachments looking more join type solution dynamic linq , expression trees passing account id dynamically. thanks,


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -