2009/3/5 Tuna Toksoz <[email protected]>:
> You can register several session factories and use
> ISessionManager.OpenSession("alias") stuff.
> Is that what you were asking for?
Where would I be doing this?
Currently my daos get their open session from a singleton
ISessionManager (mine, not nh's) that gets a session opened from a
IHttpModule like that
public virtual void Init(HttpApplication context)
{
context.BeginRequest += BeginTransaction;
context.EndRequest += commitAndCloseSession;
}
So currently, I am nowhere explicitly opening/closing sessions
(unsure, whether this is a good or a bad thing).
--
Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---