nhibernate reference resolved