This question is locked. New answers and comments are not allowed.
How can add a bitwise check in the where clause of the OpenAccessLinqDataSource? I tried to do it in the onSelecting event with the following code:
I receive this error: "Operator '>' incompatible with operand types 'String' and 'Int32'"
The Data Access release history has "Support for bitwise operators enhanced - Bitwise &, |, ^, ! operators are now supported in OpenAccess ORM LINQ statements." as of Q3 2012.
Thanks
OpenAccessLinqDataSource1.Where =
"((StatusCode & 4096) > 0)"
;
I receive this error: "Operator '>' incompatible with operand types 'String' and 'Int32'"
The Data Access release history has "Support for bitwise operators enhanced - Bitwise &, |, ^, ! operators are now supported in OpenAccess ORM LINQ statements." as of Q3 2012.
Thanks