How to Create T-SQL CASE Statements With LINQ To SQL
I was recently asked to help
with a LINQ To SQL query where the resulting T-SQL query was to
have CASE statements. Having CASE statements in T-SQL queries is a
common scenario but how do we it in LINQ To SQL? The solution is simple and straight-forward. As you will see below, using C#'s "Immediate If" will convert [...]

Read Users' Comments (0)