title: Question About Querying Linq Results
body: <p>When you query existing linq results, it's like they're stuck a layer deeper than the original result.  Let me explain what I mean by this.  </p>
  
  <p>In the example below, after getting ResultSorted, to get to the data therein, you have to use RowSorted.All.TableData.Field, but in the unsorted Result, you could just do Row.TableData.Field.  In the sorted data, you have to use .All to get to the rest of the data, which is like an extra layer to get to the data you're looking for.  </p>
  
  <p>How can I get it so I can query Result without getting this extra layer? Thanks Stack-O!</p>
  
  <pre><code>var Result =
  from a in Db.Table
  select new {TableData = a};
  
  var ResultSorted = 
  from a in Result
  orderby a.TableData.Field
  select new {All = a};
  
  foreach(var RowSorted in ResultSorted)
  {
      MessageBox.Show(RowSorted.All.TableData.ToString());
  }
  </code></pre>