"NHibernate.MappingException: Ukknown entity class: NHibernate.User" exception is thrown when trying to implement the example. I created a windowns application named NHibernate and added the User class and the User.hbm.xml and the app.config.