Hi Walaa !
Thanks for the sample. I saw it in documentation. But thanks to remind me. I'm re-thinking about using it. But for the moment I tilt on the side of not using it.
To me simple = 1 or 2 lines.
Its not that it is so complex, it's just that it should exist a way to it more easy and also, without having to set each fields one by one.
Being able to set fields is a nice feature where performance is crucial but to me, there is too much disavantages that I don't want to use that...
The bigger disavantages is that on any database change I will have to track down everywhere in the code where I was using those fields and programmatically correct the problem. I should be able to have a view of related entities (with all fields) on an easy manner without having to set each fields one by one. I think that I should be able to only ask entity types (and filters) and LLBLGen does the everything else. In a good database design, it should be easy to do (for LLBL team and us), easier to program, manage, maintain. It can throw an exception if it found no path (a way) to relate all entity types or an exception if it find more than one way. For the more than one way, it could be solved if we can give weight on relation at design time. (... I'm dreaming !!! sorry !!!).
... Thanks for your help !