Regions in an abstract class

Regions in an abstract class

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


lazaroms posted on Thursday, July 01, 2010

Hi all,

In an abstract class,

Must I implement the Authorization Rules, Factory Methods and Data Access regions? or just the Business Methods?

Will the methods in Authorization Rules, Factory Methods and Data Access regions be just a declaration of MUSTOVERRIDE methods?

Thanks in advance,

 

L.M

 

 

RockfordLhotka replied on Friday, July 02, 2010

Typically an abstract class is there to act as a base class for other types. And typically it exists so you can customize or tweak CSLA base class behaviors.

So I don't usually have all the regions - just a few overrides for the small number of methods I'm trying to customize.

Copyright (c) Marimer LLC