Get a new stateless session for the given ADO.NET connection.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IStatelessSession OpenStatelessSession( IDbConnection connection ) |
Visual Basic |
---|
Function OpenStatelessSession ( _ connection As IDbConnection _ ) As IStatelessSession |
Visual C++ |
---|
IStatelessSession^ OpenStatelessSession( IDbConnection^ connection ) |
Parameters
- connection
- Type: System.Data..::..IDbConnection
[Missing <param name="connection"/> documentation for "M:NHibernate.ISessionFactory.OpenStatelessSession(System.Data.IDbConnection)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.ISessionFactory.OpenStatelessSession(System.Data.IDbConnection)"]