title: How to select a variable plus some other fields in Linq to object?
body: <p>Consider the following linq query:</p>
  
  <pre><code>from r in result
  join oUS in onOrderUS on r.ItemGUID equals oUS.ItemGUID into jOnOrderUS
  from oUS in jOnOrderUS.DefaultIfEmpty()
  let OnOrderUS = oUS != null ? oUS.UnitQty : 0
  select (new Func&lt;ItemMinMaxView&gt;(() =&gt;
  {
     r.OnOrderUS = OnOrderUS;
  
     return r;
  })).Invoke()
  </code></pre>
  
  <p>I want to select r from result, but fill a field with the data from oUS.  Is there a better way to do this?</p>