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 that model: when I query the uow with that statement: return (from
I got this SQL generated: SELECT Somehow LS managed to not include "t0" which should be the SecuredObject entity. Any ideas? |
|
|
Forget to mention that I use LS version 4.0.524.17831 |
|
|
"T0" should be named "Permission" |
|
|
Thanks for reporting this. This appears to be a problem when you are traversing an association on the base class when the query is rooted on the derived class. We will have a look into this and report back once we have some progress. In the meantime you should be able to rewrite your query using SecuredObjectId rather than SecuredObject.Id which should work fine to help cover this specific query.
Jeremy |
|
|
I have put in a candidate fix which should cover this into tonights nightly build. Let us know if you are still running into issues.
Thanks! Jeremy |
|