Called when a session-scoped (and only session scoped) interceptor is attached to a session

Namespace: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void SetSession(
	ISession session
)
Visual Basic
Sub SetSession ( _
	session As ISession _
)
Visual C++
void SetSession(
	ISession^ session
)

Parameters

session
Type: NHibernate..::..ISession

[Missing <param name="session"/> documentation for "M:NHibernate.IInterceptor.SetSession(NHibernate.ISession)"]

Remarks

session-scoped-interceptor is an instance of the interceptor used only for one session. The use of singleton-interceptor may cause problems in multi-thread scenario.

See Also