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 found the bug (probaly similar to this: http://www.mindscapehq.com/forums/Thread.aspx?PostID=2650). Table Order (source) has one-to-many association to table User (backreference) - (one user can have more orders). Table User has data, table Order is empty. If does on association exist Eager Load Backreference, it falls down if I call Storage.Actual.Costs.ToList();
Greetings from another half of Earth :) |
|
|
Sorry, I wasn't sure how Storage, Actual and Costs relate to the Order/User model, so I haven't been able to reproduce this problem. Would it be possible for you to post code (and ideally sample data) that exhibits the issue? Thanks! |
|
|
Hu! I'm dumb, sorry. Storage is Lightspeed UoW and the expression should be Storage.Actual.Orders.ToList(); I prepare a project. |
|