To support having different objects in a collection you can create a common interface that inherit form IEditableBusinessObject.
Thats fine and all, but it seems that you have to define the internal methods DeleteSelf(), Insert(object parent) and Update(object Parent) in the common interface, and you dont really want this methods to be exposed like this? I guess you can use reflection in the Update(object parent) method in the collection, but that doesn't seem right eighter. Is there a clever way to support the update method in the collection without scoping the the internal methods in the objects as public?
Thanks and Brgds
Robert
Perfect! Thanks Andy.
Copyright (c) Marimer LLC