The following code throws a System.InvalidOperationException: 'The binary operator Equal is not defined for the types 'System.Nullable`1[System.Boolean]' and 'System.Boolean''
Code: Select all
ctx.Test.Where(z => z.Active == false).Count();
Code: Select all
ctx.Test.Where(z => z.Active == true).Count();