OT: Thoughts on implementing ITypedList in Business Objects?

OT: Thoughts on implementing ITypedList in Business Objects?

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


rsbaker0 posted on Monday, October 13, 2008

I searched around and it looks like a few folks using CSLA have done this, but it looks like a proper implementation of ITypedList requires a reference to System.Windows.Forms (for access to ListBindingHelper).

I'm mildly "offended" at having to reference a UI library at the business object level, but maybe I just shouldn't worry about it.  However, my objects all implement ICustomTypeDescriptor at the moment, which is wreaking havoc at the UI level in general because many of the designer classes can't discover the properties of objects that implement this interface, so I'd like to get rid of it.

Anyone else have thoughts on this?

Copyright (c) Marimer LLC