| 
							
					| Beginner |  
					|  |  Joined: Mon Mar 06, 2006 2:19 pm
 Posts: 42
 Location: Belo Horizonte, Brazil
 | 
				
					| Hibernate version:2.0  - alpha??? 
 I am experimenting linq library and noticed that the NHibernateContext class has only one constructor. I have to pass an ISession object to it that will be
 disposed inside the dispose of  NHibernateContext class.
 
 My question is.Should NHibernateContext dispose method disposes the session? I already have the code to dispose the session after I finish using it.
 
 Note: I'm keeping and getting my sessions with thread context and it is
 messing with it after I use linq queries.
 
 Thanks.
 
 
 |  |