Unbinds and returns the current session.
Namespace: NHibernate.ContextAssembly: 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.CurrentSessionContext.Unbind(NHibernate.ISessionFactory)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Context.CurrentSessionContext.Unbind(NHibernate.ISessionFactory)"]