Upgrade Issues (March to November 2011)

2 posts, 0 answers
  1. Seth Morecraft
    Seth Morecraft avatar
    7 posts
    Member since:
    Mar 2010

    Posted 13 Dec 2011 Link to this post

    Upgraded ORM to use the latest version 2011.3.1129.2 from 2011.1.316.10 that I had been using for a while with hopes of some minor fixes.  This upgrade seems to have broken a very simple LINQ query with a join:

    from c in context.Ac_Categories
     join cp in context.Ac_CategoryParents on c.CategoryId equals cp.CategoryId
     where c.VisibilityId == 0 && c.Name == name
     && cp.ParentNumber == 0 && cp.ParentLevel == 1
     orderby c.Name
     select c

    The error was that the engine wanted to know why 'ParentNumber' was not a part of 'Ac_Categories' and as such, wanted me to make that field in the class.  After fighting with it for a little, I decided to go back to my working version from March2011 and just deal with that for now and of course this simple query works fine with that version.  I thought you should know about this problem and see if anyone had any insight in the meantime.  Thanks!

    2011.3.1129.2 from
    2011.1.316.10

     

  2. Thomas
    Admin
    Thomas avatar
    590 posts

    Posted 14 Dec 2011 Link to this post

    Hello Seth Morecraft,

    please download the newest build (published today) which contains a fix for this issue.

    Regards,
    Thomas
    the Telerik team

    Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

  3. DevCraft banner
Back to Top