Dealing with nhibernate