Creates ISessions.

Namespace: NHibernate
Assembly:   NHibernate (in NHibernate)
Version: 1.2.0.4000

Syntax

Visual Basic (Declaration)
Public Interface ISessionFactory _
	Implements IDisposable
C#
public interface ISessionFactory : IDisposable
Visual C++
public interface class ISessionFactory : IDisposable

Remarks

Usually an application has a single SessionFactory. Threads servicing client requests obtain ISessions from the factory. Implementors must be threadsafe.

ISessionFactorys are immutable. The behaviour of a SessionFactory is controlled by properties supplied at configuration time. These properties are defined on Environment