Unassociate a previously bound session from the current thread of execution.

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

Syntax

C#
public static ISession Unbind(
	ISessionFactory factory
)
Visual Basic
Public Shared Function Unbind ( _
	factory As ISessionFactory _
) As ISession
Visual C++
public:
static ISession^ Unbind(
	ISessionFactory^ factory
)

Parameters

factory
Type: NHibernate..::..ISessionFactory

[Missing <param name="factory"/> documentation for "M:NHibernate.Context.ThreadLocalSessionContext.Unbind(NHibernate.ISessionFactory)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Context.ThreadLocalSessionContext.Unbind(NHibernate.ISessionFactory)"]

See Also