Using a domain model incorporated with a State pattern
===

There's a task connected with **changing state of an entity**. And I'm quite confused thinking whether it should be an event-based approach which involves something like `CQRS` or I can use a `State pattern` and leave all logic inside the entities.

I have found an article which shows a domain model (or a piece of it) that uses a State pattern: http://www.prowareness.com/blog/?p=1448

Ordering system is quite close to my domain model. So the example is great. But still I'm wondering if it is a good practice considering MVC pattern and if it is possible to implement with `RavenDB/NHibernate`?

Examples/reading resources are appreciated)
Thanks!