I have project where all the models relations (either 1:m or 1:1) fetch types are defined as lazy. Now consider I have a model called M that has three relation a,b and c and all are 1:m. Now I have three services: Service-A Service-B Service-C
If Service-A return model M then its relation a must be populated although other b,c contains proxy model. If Service-B return model M then its relation b must be populated although other a,c contains proxy model. same as for Service-C
Can anyone know how to accomplished that ?
Another scenario here if there is only one Service and user provide as parameter to load relation a or b or c then how to accomplish that ?