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...
I like the solution mentioned by Ishaan, but it is as said: it translates Linq to CAML but doesn't convert it to entities. As an alternative, what you can do is this: since SPSiteDataQuery knows how to aggregate data across multiple sites, you need to
get the same in Linq/SPMetal:
http://msdn.microsoft.com/en-us/library/ff798478.aspx explains how.