title: Linq to SQL Case WHEN in VB.NET?
body: <p>How do I do a Case WHEN in Linq to SQL (vb.net please).</p>
  
  <p>In SQL it would be like this:</p>
  
  <pre><code>SELECT 
  CASE
    WHEN condition THEN trueresult
    [...n]
  [ELSE elseresult]
  END
  </code></pre>
  
  <p>How would I do this in Linq to SQL?</p>