Hi all, i think this issue is common in web applications with a middle-sized model. Let's say I have a SportCenter class holding a list of BasketballField, when showing reservations or properties of a BasketballField I still want to show few information about the SportCenter it belongs to.
I'm using ASP.Net MVC and nHibernate for the data layer, so my question is: is it worth to make nHibernate load a whole SportCenter instance (actually contained collections are lazy-loaded but still the class is "heavy") together with my BasketballField and its infos just to show just few fields of the SportCenter?
On the other hand, building very fine-tuned queries in HQL take me back to old Classic ASP days with hand-made SQL queries...
Any best-practice to suggest?
Thank you all, Peter.