C# Class Machine.UoW.NHibernate.SessionContextSessionManager

Inheritance: ISessionManager
Datei anzeigen Open project: machine/machine.uow

Public Methods

Method Description
CurrentSession ( ) : ISession
OpenSession ( ) : IManagedSession
OpenSession ( string key ) : IManagedSession
SessionContextSessionManager ( ISessionFactory sessionFactory ) : System

Method Details

CurrentSession() public method

public CurrentSession ( ) : ISession
return ISession

OpenSession() public method

public OpenSession ( ) : IManagedSession
return IManagedSession

OpenSession() public method

public OpenSession ( string key ) : IManagedSession
key string
return IManagedSession

SessionContextSessionManager() public method

public SessionContextSessionManager ( ISessionFactory sessionFactory ) : System
sessionFactory ISessionFactory
return System