C# Class Machine.UoW.NHibernate.TransientSessionManager

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

Public Methods

Method Description
CurrentSession ( ) : ISession
OpenSession ( ) : IManagedSession
OpenSession ( string key ) : IManagedSession
TransientSessionManager ( 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

TransientSessionManager() public method

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