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