private void SetUpNhibernateSession() { NhibernateSession nhibernateSession = new NhibernateSession(); nhibernateSession.BuildSession(Guid.NewGuid(), Properties.Settings.Default.erpConnectionString); this.NhibernateSession = nhibernateSession; }