Bitwise conditions

Thread is closed for posting
2 posts, 0 answers
  1. Phil
    Phil avatar
    23 posts
    Member since:
    Sep 2010

    Posted 30 Sep 2010 Link to this post


    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?

  2. Thomas
    Thomas avatar
    590 posts

    Posted 01 Oct 2010 Link to this post

    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.

    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
Back to Top