Which BO should I use?

Which BO should I use?

Old forum URL: forums.lhotka.net/forums/t/2967.aspx


DocJames posted on Thursday, May 31, 2007

Hey,

I'm very new with CSLA. I'm really trying to get my head around the different BOs (EditableRoot, EditableChildList and so on).

I would like to have a list of EditableRoot objects contained in a EditableRootList. Just a list of objects - no parent/child relationship. I'm going to bind the EditableRootList to a DataGridView.

My problem is that EditableRootList calles "DeleteSelf", "Update", "Insert" on the items in the list. And EditableRoot does not implement those methods.

What am I doing wrong here?

Thanks,

Jimmy

Ps. using CSLA 2.1.4 on Windows forms

kamanova replied on Thursday, May 31, 2007

You need to use EditableChild with EditableRootList. (I'm not sure what EditableRoot is for.)

DocJames replied on Thursday, May 31, 2007

I will try that. I'm also dissecting the ProjectTracker application to learn more (besides digging more into the book) :)

Thanks,

Jimmy

Copyright (c) Marimer LLC