How should we really be implenting Equals and GetHashCode for NHibernate entities
There are many questions and answers and articles to this question available but in my opinion there seems to be no real clear/correct answer For me Ayende has the best generic implementation so far that I've seen : http://ayende.com/blog/2500/generic-entity-equality ....But it is from 2007 .... Is this the 'best way' to implement these methods especially with regard to NHibernate 3.2 which contains some differences in proxy implementation to earlier versions? Yes! You should be overriding Equals and GetHashCode . But, you shouldn't be doing value equality ( Name == other.Name && Age == other