Hi Bryan,
The child objects are showing some behavior that indicates they are aware of the relationship with the parent. They are picking up the parent's primary key and populating their foreign key fields. But I tried your suggestion and I had the same problem.
Now I think the problem I'm having is that it seems like the child objects' datasets are not picking up the values from the bound controls on the page. So the parent saves, but when the children attempt to save their datasets, it gets canceled because their datasets are null.
>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());