title: LINQ to SQL: Selecting a one-to-many relationship
body: <p>I've got two tables (articles and tags) that have a one-to-many relationship.</p>
  
  <p>I remember seeing somewhere that I can create nested objects/arrays/etc from that relationship. The output of which I would like in a format such as (in JSON format):</p>
  
  <pre><code>{1 : {
      id : 1,
      title : 'article title',
      tags : ({
          id : 16,
          tagname : 'first tag'
      },{
          id : 23,
          tagname : 'another tag'
      })
  }
  </code></pre>
  
  <p>I'm creating an internal knowledge base system with a list view similar to the front page of stack overflow (that's the way I'd like to display the tags).</p>
  
  <p>How would I go about doing this? A subquery? Thanks.</p>