Im developing a multithreading application using code smith Nhibernate Template, i read that i must use a session or every thread, problem is i dont know how to get a new session from CodeSmith Generated classes ...
can any body provide me a very very simple example of how to use CodeSmith Nhibernate in a 2 different threads? or at least privide me of code to create new session ?
thanks in advance.