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
|
In my model I have two entities that have a many-to-many association, linked through an explicit through entity. This works swimmingly with lazy loading. For some queries though, I would like to enable eager loading of the collections through named aggregates, but I can't get it to work. Is this supported in Lightspeed, and if so: are there any specific examples on this? |
|
|
Yes, you can achieve this by defining the named aggregate for the collection aggregate property between your source entity and the through entity, and then again on the back reference property between the through entity and the target entity.
|
|