title: Is this possible with LINQ-to-Entities query using Lambda Expression
body: <p>Looking for direction and understanding of the approach to implement logic to handle the scenario below, if possible with LINQ-to-Entities.  New to LINQ and Entity Framework, but understand the basics. Intermediate with C#. </p>
  
  <p>I have a function, which needs to iterate through and add information to a results set and ultimately pass back the "processed" result set.  I'd like to be able call this function in an inline/Lambda/method based way with the LINQ query that retrieves the data.  So something like this:</p>
  
  <pre>
  <code>
      IQueryable&lt;Rates&gt; = db.Rates.Select(r => r).ProcessRates();
  </code>
  </pre>
  
  <p>So what LINQ/C# construct am I going to employ to implement the function?  Would it be an extension method or ???</p>
  
  <p>Answers with explanation and code snippets will be greatly appreciated, especially the syntax necessary to create the function properly. </p>