Returns whether there is a session bound to the current context.

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

Syntax

C#
public static bool HasBind(
	ISessionFactory factory
)
Visual Basic
Public Shared Function HasBind ( _
	factory As ISessionFactory _
) As Boolean
Visual C++
public:
static bool HasBind(
	ISessionFactory^ factory
)

Parameters

factory
Type: NHibernate..::..ISessionFactory

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

Return Value

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

See Also