Hi!
I have been using LLBLGenPro for quite a time now and I've used prefetch paths a lot to eager load child collections of entities collections. I wanted to know if nhibernate has support for this? I've seen examples to eager load child collections for a single root element, but I am wondering if these examples would work for a collection of root elements.
For instance, I want to grab all the orders of all my clients, in 2 queries (one for the clients, one for the orders) and let the mapping be done by the ORM. Is this possible with nhibernate? If so, how far can it go?
The thing I don't like with llblgen is that I can't use my own objet domain and since my business layer already make use of my objects, I am looking for an ORM that will let me use my own domain.
Thank you!
Hibernate version: 2
Name and version of the database you are using: mssql 2005
|