Example #1
0
 private void Cleanup()
 {
     sessions.Close();
     sessions           = null;
     spatialDialect     = null;
     connectionProvider = null;
     lastOpenedSession  = null;
     configuration      = null;
 }
Example #2
0
		private void Cleanup()
		{
			sessions.Close();
			sessions = null;
			spatialDialect = null;
			connectionProvider = null;
			lastOpenedSession = null;
			configuration = null;
		}
Example #3
0
		private void BuildSessionFactory()
		{
			sessions = configuration.BuildSessionFactory();
			spatialDialect = (ISpatialDialect)((ISessionFactoryImplementor)this.sessions).Dialect;
			connectionProvider = ((ISessionFactoryImplementor)this.sessions).ConnectionProvider as DebugConnectionProvider;
		}
Example #4
0
 private void BuildSessionFactory()
 {
     sessions           = configuration.BuildSessionFactory();
     spatialDialect     = (ISpatialDialect)((ISessionFactoryImplementor)this.sessions).Dialect;
     connectionProvider = ((ISessionFactoryImplementor)this.sessions).ConnectionProvider as DebugConnectionProvider;
 }