This question is locked. New answers and comments are not allowed.
Hi,
I wonder how to do bitwise comparison.
Using something like "from t in ....where (t.State & myFlags.Some) == myFlags.Some" raises an error. The generated SQL looks like "WHERE a[field] AND 1 = 1".
This explains the error, but how to do it right?
Best Regards
Stefan
I wonder how to do bitwise comparison.
Using something like "from t in ....where (t.State & myFlags.Some) == myFlags.Some" raises an error. The generated SQL looks like "WHERE a[field] AND 1 = 1".
This explains the error, but how to do it right?
Best Regards
Stefan