title: C# Outer Apply in LINQ
body: <p>How can I achieve Outer Apply in LINQ? I'm having a bit of a problem.</p>
  
  <p>Here's the SQL Query I'm using.</p>
  
  <pre><code>SELECT u.masterID
        ,u.user
        ,h.created
  FROM dbo.Users u
  OUTER APPLY (SELECT TOP 1 * FROM UserHistory h where h.masterID = u.masterID ORDER BY created DESC) h
  </code></pre>