Page 1 of 1

Oracle BitAnd support

Posted: Wed 04 May 2011 14:06
by LordFjord
Hello,

I have the case to filter data depending on the value of a flagged enum, the Devart.Data.Linq.Provider throws a System.NotSupportedException: Operation is not supported: BitAnd at Devart.Data.Oracle.Linq.Provider.Query.a.a(SqlNodeType A_0)

Code Example:

Code: Select all

var result = context.MyObject.Where( x => (x.MyColumn & (int)MyFlaggedEnum.SomeValue) == 0);
Are there any plans to support BitAnd operations via LINQ? This works with the .NET System.Data.Linq library on a MS SQL database.
Also, Oracle has a builtin bitand function if i remember right.

Posted: Thu 05 May 2011 10:13
by StanislavK
Thank you for the suggestion, we will consider supporting the bitwise operations. We will post here when any new information concerning this feature is available.

Re: Oracle BitAnd support

Posted: Wed 27 Apr 2016 11:57
by Shalex
Bitwise And, Or, Xor (SQL Server / Oracle), and Not (SQL Server) operators are supported in LINQ queries for integer operands in the newest (4.5.976) build of LinqConnect.