Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionHolder.AddSession(Object, ISession) Method

Adds the session to the dictionary storage using the supplied key.

[Visual Basic]
Public Overloads Sub AddSession( _
   ByVal key As Object, _
   ByVal session As ISession _
)
[C#]
public void AddSession(
   object key,
   ISession session
);

Parameters

key
The key.
session
The hibernate session.

See Also

SessionHolder Class | Spring.Data.NHibernate Namespace | SessionHolder.AddSession Overload List