This is a migrated thread and some comments may be shown as answers.
Upgrade Issues (March to November 2011)
1 Answer 14 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Seth Morecraft
Top achievements
Rank 1
Seth Morecraft asked on 13 Dec 2011, 08:20 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Thomas
Telerik team
answered on 14 Dec 2011, 11:38 AM
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!

Tags
General Discussions
Asked by
Seth Morecraft
Top achievements
Rank 1
Answers by
Thomas
Telerik team
Share this question
or