title: LINQ select after grouping
body: <p>I'm trying to return a result set from a grouped query and I can't get the select right.  In LinqPad the cursor jumps to "ItemID" in Grouped.Key.ItemID with the error:</p>
  
  <p>'int' does not contain a definition for 'ItemID' and no extension method 'ItemID' accepting a first argument of type 'int' could be found</p>
  
  <p>Here's the query:</p>
  
  <pre><code>from B in Bids
  join I in Items on B.ItemID equals I.ItemID
  group new {B, I} by I.ItemID into Grouped
  select new {
      ItemID = Grouped.Key.ItemID,
      ItemName = Grouped.Key.ItemName,
      Bids = Grouped.Key.B
  }
  </code></pre>
  
  <p>I would like the return set to have records comprised of the ItemID, ItemName and all of the associated Bid records.</p>
  
  <p>Thanks very much,</p>
  
  <p>BK</p>