Information générale
Catégorie:
The Mere Mortals .NET Framework
Hi Frank,
I think that the correct way to go has been suggested you by Tim Bryan. It is the normal way if you have Real State on your Window. I rarely use what I previously told you, but it is a solution in some cases. I commonly use this kind of navigation between parent and child objects and entities in the inverse way, an entity field (usuali numeric, decimal, real...) changes and then look for its object that calculates something (Sum, Avg, Max...) in the EntityList and fill the result in the Parent Object Entity´s corresponding field. I use to program everything I can in the business layer, and I found it very powerfull. If I need a readonly EntityList (for instance a report) with data of more than one Parent Object, then I create a view in the database and create the Entity Object, and only the Entity Object, using the BLG and then retrieve the EntityList from one of the involved object coding the needed GetViewEntityListByKey(params) method.
Sorry if I could not help you.
Regards,
Antonio
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement