Another time I start from : “Program to an interface and not to an implementation” I want have the same approach, I’m using for DAOs, Models, Presenters, Validation, and so on, for my domain. The domain: public interface IEntity <TIdentity>: IEquatable < IEntity <TIdentity>>...
( my blog ) The entity-name is another powerful feature of NH2.1. Part of the implementation was introduced in NH2.0 but it was not fully implemented even if it are working "under the cover" (if you read the SVN-log you saw “one more step to entity-name” many and many times). As...
In Less than “Few” is GoF I show how have a single implementation for the whole domain entities using Tuplizers . In this post I will show another NH2.1 feature : EntityMode .Map Suppose you want prototype the persistence of your application; you don’t want write any entity-interface...