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
|
Is there a way to use 2 WithAggregate to load from 2 different tables as in:
I have not been able to find anything on this. Thanks, Craig |
|
|
No you can only specify a single aggregate as part of a query. You can specify multiple aggregate names at the model level so that an eager load can be triggered by any of those aggregates being used and when loading the aggregate will be used throughout the whole hierarchy so you can specify the same aggregate name across multiple types to cater for a specific eager load scenario.
|
|