Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tips on parent-child bizobj to share db transaction
Message
From
03/07/2007 18:26:41
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
03/07/2007 16:17:41
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01235772
Message ID:
01237658
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform