master-detail relation with object binding

  • Thread starter Thread starter Patrice Ongla
  • Start date Start date
P

Patrice Ongla

Hi all,

In Whibdey, I have a form bound to one of my business object. This object
has a collection of child object of another class.

Does anyone know how to create a master-detail relation between this form
and a grid in it which is bound to te dataconnector of the child class ?

Hope i'm clear enough...

Thanx in advance.
 
Patrice said:
Hi all,

In Whibdey, I have a form bound to one of my business object. This object
has a collection of child object of another class.

Does anyone know how to create a master-detail relation between this form
and a grid in it which is bound to te dataconnector of the child class ?

Hope i'm clear enough...

Thanx in advance.

Yes, I think it is IList for the master, and IEditable for the detail,
then you can bind. There are examples out there. You won't need the
dataconnector if you have in-memory business objects.
 
Thanx. But that's even simplier with Whidbey as you don't have to worry
about those interfaces. But if you work less, you see less also. So I don't
see where I have to put my code to get this master detail link.
 
Patrice said:
Thanx. But that's even simplier with Whidbey as you don't have to worry
about those interfaces. But if you work less, you see less also. So I don't
see where I have to put my code to get this master detail link.

I don't have Whidbey, but I recall I simply provided a collection on
each IList element.

- Lee
 
Back
Top