Tag Archives: ddd

More On Value Objects

A few days ago Dylan Beattie wrote a nice post about value objects.  He explains the idea in a more palatable way than my attempt: If it’s not clear how to model a particular element in your model, try asking … Continue reading

Posted in Domain-Driven Design | Tagged , , | 1 Comment

There is never a collection of Value Objects

Adding to a Value Object property always adds to it, never adds another instance to it.  Distinguishing Value Objects by maintaining a collection of them implies identity. It is a mistake to attempt to maintain a collection of Value Objects. … Continue reading

Posted in Domain-Driven Design | Tagged , , | 15 Comments

Audit options with NHibernate

In this post I am talking about auditing for the business, not the technical infrastructure.  As an example story, users will want to see certain fields highlighted on a grid if that field has changed in the last week, and … Continue reading

Posted in Tools | Tagged , , | 4 Comments