Beispiel #1
0
        public void Setup()
        {
            NHibernateSessionManager.Initialize();

            NHibernateSessionManager.OpenSession();
            NHibernateSessionManager.BeginTransaction();

            try
            {
                CreateStandardDataSet();
            }
            finally
            {
                NHibernateSessionManager.CommitTransaction();
                NHibernateSessionManager.CloseSession();
            }
        }