title: How to perform an ODATA expand in LinqPad
body: <p>I'm using LINQPad to connect to the ODATA services on a local CRM organization and I don't know how to perform "joins" or to traverse relationships using LINQPad.</p>
  
  <p>Here is my URL</p>
  
  <pre><code>OrganizationData.svc/New_locationSet?$select=new_state_new_location/new_Region$expand=new_state_new_location
  </code></pre>
  
  <p>which works just fine in the browser.  Here is what I'm doing in LINQPad:</p>
  
  <pre><code>from l in new_locationSet
  from s in l.new_state_new_location
  select s.new_Region
  </code></pre>
  
  <p>but I'm getting an error:</p>
  
  <pre><code>An expression of type 'LINQPad.User.New_state' is not allowed in a subsequent from clause in a query expression with source type 'System.Data.Services.Client.DataServiceQuery&lt;LINQPad.User.New_location&gt;'.  Type inference failed in the call to 'SelectMany'.
  </code></pre>
  
  <p>Any ideas?  I've found the LINQPad OData documentation extremely lacking...</p>