title: Select all columns on an object with Linq
body: <p>I have a query:</p>
  
  <pre><code>var transactions = from t in db.Transactions
                          where t.SellingPrice != 0 
                          select new { t.CommissionPercent, t.SellingPrice };
  </code></pre>
  
  <p>But in reality, I need to avoid using an anonymous type because it is readonly and select all the properties/columns on my "transaction" item.</p>
  
  <p>I would have thought that it would be something like this:</p>
  
  <pre><code>var transactions = from t in db.Transactions
                          where t.SellingPrice != 0 
                          select t.SellingPrice, t.CommissionPercent, t.Etc...
  </code></pre>
  
  <p>Or...</p>
  
  <pre><code>var transactions = from t in db.Transactions
                          where t.SellingPrice != 0 
                          select t.SellingPrice
                          select t.CommissionPercent
                          select t.Etc...
  </code></pre>
  
  <p>Is there no way to retrieve everything the object has for properties and pass it to the Ienumerable?</p>