Handle the given load event.

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

Syntax

C#
void OnLoad(
	LoadEvent event,
	LoadType loadType
)
Visual Basic
Sub OnLoad ( _
	event As LoadEvent, _
	loadType As LoadType _
)
Visual C++
void OnLoad(
	LoadEvent^ event, 
	LoadType^ loadType
)

Parameters

event
Type: NHibernate.Event..::..LoadEvent
The load event to be handled.
loadType
Type: NHibernate.Event..::..LoadType

[Missing <param name="loadType"/> documentation for "M:NHibernate.Event.ILoadEventListener.OnLoad(NHibernate.Event.LoadEvent,NHibernate.Event.LoadType)"]

Return Value

The result (i.e., the loaded entity).

See Also