This is a migrated thread and some comments may be shown as answers.

Bitwise conditions

1 Answer 52 Views
LINQ (LINQ specific questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phil
Top achievements
Rank 1
Phil asked on 30 Sep 2010, 03:22 PM
Hi,

Are bitwise condition supported in the latest revision of OpenAccess?

If I try the below I get a runtime back
Dim art = From a In _db.Articles Where a.Visibilty & 1 = 1 Select a

Out Ex
Extent<WindowsApplication1.Article>.Where(a => (Convert(Concat(Convert(a.Visibilty), Convert(1))) == 1)).Select(a => a)'. See InnerException for more details.

Inner Ex
Field '_visibilty' on WindowsApplication1.Article is not a reference to another PC class

Or does OpenAccess provide an alternate method such as LinqToSQL's DataContext.ExecuteQuery?

Thanks

1 Answer, 1 is accepted

Sort by
0
Thomas
Telerik team
answered on 01 Oct 2010, 08:37 AM
Hello Phil,

bitwise operations are currently not supported. They are on our todo list  however!
Please also check your code, as it seems you have not issued a bitwise operation, but a concatenation operation.

Greetings,
Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
LINQ (LINQ specific questions)
Asked by
Phil
Top achievements
Rank 1
Answers by
Thomas
Telerik team
Share this question
or