Create a database connection and open a ISession on it

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

Syntax

C#
ISession OpenSession()
Visual Basic
Function OpenSession As ISession
Visual C++
ISession^ OpenSession()

Return Value

[Missing <returns> documentation for "M:NHibernate.ISessionFactory.OpenSession"]

See Also