Hi,
I get a weird exception: "Unknown Expression type: IIF(e.Accredited.Value, 1, 0)"
running the following statement:
var x = from e in _EntityManager.TrainingCourses
select new { Disabled = (e.Accredited.Value ? 1 : 0) };
Please help!! How do I evaluate a (bool?) in the select
Thanks