This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi I have upgraded from 2.2 to 3.x. I now have som funny problems with some of my sqls like: var query = from relationship in UnitOfWork.Relationships Which result in Got System.InvalidCastException: Unable to cast object of type '.' to type '.'. It seems to be my Active field which courses the problem. I have searched the Support site, but I am confused, whether this unique problem, perhaps the Acive field as part of some of yor stuff, or perhaps som db conversion problem. PS. The entity works fine in sqls without orderby, and I am using mysql. regards Max |
|
|
Thanks for alerting us to this. This was an internal bug with the translation of boolean expressions in the context of an order by clause. There will be a fix in the next nightly build, available from about 1200 GMT. |
|
|
Thanks, I downloaded the nightly build from yesterday, and now my sort works |
|