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
|
I am using LS to LINQ witht he following statement. from stock in Stocks But I receive the the above message. If I comment out both the Quantity = and WarehouseName = lines, the query works, obviously minus required fields. I either, or both, of these lines are returned, I immediately receive the message again. In my opinion this is a simple left outer join, which should be possible. The SQL that is generated is SELECT SELECT SELECT SELECT SELECT SELECT --> Time: 0 ms
|
|
|
Hi Mark, The error appears to be stemming from one of the eager loads, however I am having difficulting trying to reproduce this here. Would you be able to send through a copy of your model (can be stripped back to just the entities which are in the above query + associated eager load queries) and we can have a look into this.
Thanks! Jeremy |
|
|
Hi Mark, Just a quick note to say we have included a fix in tonights nightly build (20100819) for an issue that was reported independantly which looks similar enough to what you have reported here, so I believe it may be the same issue. Let us know if that covers the behavior you are seing, otherwise if you could send through an example model we can continue to have a look into this.
Thanks! Jeremy |
|
|
Will download and give it a try. Thanks |
|
|
What has been your findings? I am experiencing the same error while doing an outer join construction with full version 3.0 |
|
|
This problem was ultimately traced to the eager load settings in the tables, exactly as Jeremy predicted. I have since restructered the relationships, with respect to eager loads, and all works well. |
|