Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionScope Constructor

Initializes a new instance of the SessionScope class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal settings As SessionScopeSettings, _
   ByVal open As Boolean _
)
[C#]
SessionScope(
   SessionScopeSettings settings,
   bool open
);

Parameters

settings
An SessionScopeSettings instance holding the scope configuration
open
If set to true associate a session with the thread. If false, another collaborating class will associate the session with the thread, potentially by calling the Open method on this class.

See Also

SessionScope Class | Spring.Data.NHibernate.Support Namespace | SessionScope Constructor Overload List