Closes the session factory, releasing all held resources. cleans up used cache regions and "stops" the cache provider.close the ADO.NET connection

Namespace: NHibernate.Impl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void Close()
Visual Basic
Public Sub Close
Visual C++
public:
virtual void Close() sealed

Implements

ISessionFactory..::..Close()()()()

See Also