Linq to SQL Case WHEN in VB.NET?
Posted
by EdenMachine
on Stack Overflow
See other posts from Stack Overflow
or by EdenMachine
Published on 2009-01-24T19:32:45Z
Indexed on
2010/05/15
16:24 UTC
Read the original article
Hit count: 388
How do I do a Case WHEN in Linq to SQL (vb.net please).
In SQL it would be like this:
SELECT
CASE
WHEN condition THEN trueresult
[...n]
[ELSE elseresult]
END
How would I do this in Linq to SQL?
© Stack Overflow or respective owner