RiddleActive Record as a Rule Engine
I mentioned in a previous post that I used Active Record as a Rule Engine, and a couple of people asked just how. Before I will post the answer, I want to see if you can come up with the same idea.
The scenario:
Hints:
- A database is really good in filtering data.
- Active Record (well, NHibernate, but it is the same thing) can take inheritance to the database level.
More posts in "Riddle" series:
- (12 Oct 2010) File access & Multi threading
- (06 May 2010) String outputs
- (02 May 2010) Hard links & file moves
Comments
Comment preview