Update NHibernateRepository.cs

removed deprecated code.