Writing a Linq to SharePoint query equivalent to SPSiteDataQuery RRS feed

  • Question

  • hi,

    I have a requirement where i have to write a Linq to SharePoint query, which is equivalent to SPSiteDataQuery in sharepoint.. can i get some help in this...

    Thanks, Neela Krishna

    Tuesday, May 15, 2012 6:59 AM


  • SPSiteDataQuery is a separate method to query and access SharePoint data till now linq do not support it directly refer microsoft documentation

    however you can build your own parser that convert you linq query and generate the correponding query like refer the blog.

    • Proposed as answer by Dmitry Kaloshin Tuesday, May 15, 2012 9:50 AM
    • Marked as answer by GuYuming Wednesday, May 16, 2012 8:06 AM
    Tuesday, May 15, 2012 7:18 AM

All replies