Search This Blog

Thursday, October 25, 2012

Declaring a base logic class for Domain Components (DC)

Today I came across a very smart piece of work: Domain Logic Base Class => Good Practice?, and I can not share it with you.

This solution enables you to save time by using Intellisense instead of typing logic methods names manually. Probably, this is also where CodeRush may help, but a common base class is still a brilliant solution, which I remember we used in the far far past (notice EntityService there).

What do you think?

1 comment:

  1. This is old but I do not use domain logic yet I use a single persistent base class for all significant DB objects. I was hesitant to do it at first but after putting it through the ringer, I can safely say I have gained performance on a 40k object DB.

    And coding is much easier.