Closed
Description
EFCore 6.0
Seems, your infrastructure incorrect translate the double negate operation:
MSSQL test
ss => ss.Set<Squad>().Where(s => -(-s.Id) == -s.Id))
Error message
Microsoft.Data.SqlClient.SqlException : Incorrect syntax near 'WHERE'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment