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,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com