Esempio n. 1
0
 public void SetUp()
 {
     NHibernateInstaller = new TestConfigurationBuilder();
     Configuration = NHibernateInstaller.BuildConfiguration();
     SessionFactory = Configuration.BuildSessionFactory();
     NHibernateInstaller.Registered(SessionFactory, Configuration);
     Session = SessionFactory.OpenSession();
 }