Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event objects and related business objects
Message
 
À
13/12/1999 08:05:02
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00302631
Message ID:
00303125
Vues:
25
Rex,

>When using an Event object, I need to include two business objects that are related to each other (ie in a One to Many relation). Is there any way to do this short of adding these objects to the form and overriding the DefineParticipatingEntities method?>

Are you asking how to programmatically associate two business objects at run time? If so, you simply instantiate both business objects, then call the parent's RegisterChildBizObj method with a reference to the child business object.

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform