Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tips on parent-child bizobj to share db transaction
Message
De
03/07/2007 18:26:41
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
03/07/2007 16:17:41
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01235772
Message ID:
01237658
Vues:
14
Hi Govinda,


> protected void Page_Load(object sender, EventArgs e)
> {
> this.oStates = (StateNames)this.RegisterBizObj(new StateNames());
>
> this.oObject1 = (Object1)this.RegisterBizObj(new Object1());
> this.oObject3 = (Object3)this.RegisterBizObj(new Object3());
> this.oObject2 = (Object2)this.RegisterBizObj(new Object2());
>
> this.oObject1.RegisterChildBizObj(oObject2);
> this.oObject1.RegisterChildBizObj(oObject3);
>
>

Does the Object1 need to be registered as the primary biz object in order for the children to know who they are children of?

this.oObject1 = (Object1)this.RegisterPrimaryBizObj(new Object1());
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform