How can i implement the NULL Object Design Pattern in a generic form?

Posted by Colour Blend on Stack Overflow See other posts from Stack Overflow or by Colour Blend
Published on 2010-03-26T11:40:54Z Indexed on 2010/03/26 11:43 UTC
Read the original article Hit count: 233

Filed under:
|

Is there a way to implement the null object design pattern in a generic form so that i don't need to implement it for every buisness object.

For me, there are two high level classes you'll need for every business class. One for a single record and another for a list. So i think there should be a way to implement the NULL Object design pattern at a high level and not have to implement it for every class.

Is there a way and how please?

© Stack Overflow or respective owner

Related posts about design-patterns

Related posts about c#