Example #1
0
		private void Cleanup()
		{
			sessions.Close();
			sessions = null;
			connectionProvider = null;
			lastOpenedSession = null;
			cfg = null;
		}
Example #2
0
		protected virtual void BuildSessionFactory()
		{
			sessions = cfg.BuildSessionFactory();
			connectionProvider = sessions.ConnectionProvider as DebugConnectionProvider;
		}