I'm evaluating dotConnect for Oracle with EF Core 3.1. When I use a bitwise AND operator in my queries, I get the ORA-01036 or ORA-00920 exceptions.
This is my query :
Code: Select all
var kind = 1;
var thirdParties = dbContext.ThirdParties.Where(tp => (tp.Kind & kind) > 0).ToList();
When I remove the variable :
Code: Select all
var thirdParties = dbContext.ThirdParties.Where(tp => (tp.Kind & 1) > 0).ToList();
What am I doing wrong?