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 sectionName As String, _
   ByVal namespaceType As Type, _
   ByVal open As Boolean _
)
[C#]
SessionScope(
   string sectionName,
   Type namespaceType,
   bool open
);

Parameters

sectionName
The name of the configuration section to read configuration settings from. See ConfigSectionSessionScopeSettings for more info.
namespaceType
The type, who's full name is used for prefixing appSetting keys
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