Using Csla 4: whatever happened to "switchable objects”?

Using Csla 4: whatever happened to "switchable objects”?

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


tiago posted on Wednesday, April 20, 2011

Hi Rocky,

Browsing the Object ebook I noticed there is no mention to Editable Switchable.

I guess this stereotype is supported by CSLA.NET 4. Why didn't you include it?

bniemyjski replied on Wednesday, April 20, 2011

Hello,

That is a good question, I also did not see it in the list (I'm using an older version of the objects book). I know it is supported in 4.x, maybe it was forgotten??

Thanks

-Blake

RockfordLhotka replied on Wednesday, April 20, 2011

The concept is supported, yes.

I consider it an advanced scenario that should be generally avoided - I think I've been consistent about that for years :)

Rather than put it out there as a first-class stereotype, and therefore make people think they should use it, I chose to leave it out - thus hopefully encouraging more thought around better object designs.

Copyright (c) Marimer LLC