Introduction Eric Evans writes in his DDD book : When you care only about the attributes of an element of the model, classify it as a value object . Make it express the meaning of the attributes it conveys and give it related functionality. Treat the value object as immutable. Don't give it any identity...
This is the third post in a series of articles where I want to analyze and describe the new upcoming mapping interface providing a fluent interface to NHibernate for the mapping of a domain model to the underlying database. A fluent interface to NHibernate A fluent interface to NHibernate - Part 2 -...
This is the second of a series of articles on the topic. Other posts will follow A fluent interface to NHibernate - Part 1 A fluent interface to NHibernate - Part 2 - Value Objects A fluent interface to NHibernate - Part 3 - Mapping Relations A fluent interface to NHibernate - Part 4 - Configuration...