Search code examples
c#linqwcf-data-servicesodatalinqpad

How can i use join in LinqPad against SE DE?


i use StackExchange Data Explorer service with LinqPad and i use this Code for Select all of User:

from m in Users
select m

now i want select all Posts of User

from u in Users
join p in Posts on u.Id equals p.OwnerUserId
select u

but it's not working. Where is my problem?


Solution

  • You're problem is not with LinqPad, it's with the OData protocol. It does not support the JOIN concept currently.

    See this SO question and follow the link to another forum where this is discussed in more detail.

    I hope this helps.