Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionScopeSettings.SingleSession Property

Set whether to use a single session for each request. Default is "true". If set to false, each data access operation or transaction will use its own session (like without Open Session in View). Each of those sessions will be registered for deferred close, though, actually processed at request completion.

[Visual Basic]
Public Property SingleSession() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public bool SingleSession { public get; public set; }

See Also

SessionScopeSettings Class | Spring.Data.NHibernate.Support Namespace