Information générale
Catégorie:
The Mere Mortals Framework
>Rex,
>
>>In the event object you use the .Add method to create business object instances from business object classes. You recommend and I agree not to associate dataenvironments in business object classes. My question is how can I associate dataenvironments in business objects in an Event object. One answer, I guess, is to subclass my business object and associate the dataenvironment with the subclass.>
>
>Hmmm....I don't recall recommending that...typically, you *do* want to associate a data environment with a business object so that its data access is defined wherever it goes.
>
>Regards,
Huh, wonder where I got that idea? Anyway, what I want is to use the event object to encapsulate the inventory transaction for other forms. That means being able to drop my event object on a form, associate my inventory business object to the form's primary business object and let it go. My problem is that other business objects need to be associated with the Inventory business object, and that these business object are created by the event object. I suppose I then need to run the RegisterChildBizObj method, but from where?
Hope you're not as confused as I am!
TIA
Rex
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