EntityFramework.SqlServerCompact
EntityFramework.SqlServerCompact copied to clipboard
Fixed the InterpretExistsResult condition
The value is never going to be NULL, it's either 0 or (hopefully :)) 1.
Hmm, the failing build doesn't look good. Now whether it found real issues or it's a bad change. I still think the new code is correct, isn't it?
I am not sure it is correct if functional tests are failing
I got the inspiration as I was writing my code and also SQLite provider does the same. The original condition makes sense in case of SQLServer, because the query is different.
Should this be closed then?
Hang on: try with: Convert.ToInt32 !! (COUNT() is int, not bigint)
Doesn't matter. The Convert will handle it.