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 want to use an existing model where most relationships are lazy loading and at runtime , if the user selects to export some data, change the relationships so that certain entities will eager load ready for export. is there a way to do this ? |
|
|
Yep you can achieve this by using named aggregates on the associations you want to have as potentially eager loaded and then dynamically determine if you want to use the aggregate name at runtime when constructing your query.
|
|