Hi,
I have i simple Application with Entities “Order” an “OrderItem”. Order have a property “date” and one-to-many list of OrderItems.
To keep it simple, OrderItems have a backreference to Order.
Now i am in Order-Designer in the IDE. I check “orderitems” attribute on the left side and go to “Order by” on the right. I want to order by “order”.
I start the application, go to “Orders” an open some (i’ve created one Order over Entity inspector therefore) and want to open this order. It works.
Then i want to change sorting. Not more just order by “order” but by date of it. I set “order.date” in “Order by” field in Order-Designer.
Now a do the same steps and i get this exception:
Exception Description: Invalid query key [date] in expression.
Query: ReadAllQuery(name=“orderitems” referenceClass=OrderItem )
I’ll attach a demo project that i used for my other post, but the problem is also reproducable there.
Could you take a look if it possible to do what i want or am i making something wrong? Maybe it is a bug?
demo2.zip (2.3 MB)
Best Regards