protected virtual void OpenAndBindSession()
        {
            ISession session = _sessionFactoryManager.OpenSession();

            CurrentSessionContext.Bind(session);
        }
Exemplo n.º 2
0
 public object Create(IContext context)
 {
     return(_sessionFactoryManager.OpenSession());
 }