Called when an entity is saved

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

Syntax

C#
LifecycleVeto OnSave(
	ISession s
)
Visual Basic
Function OnSave ( _
	s As ISession _
) As LifecycleVeto
Visual C++
LifecycleVeto OnSave(
	ISession^ s
)

Parameters

s
Type: NHibernate..::..ISession
The session

Return Value

If we should veto the save

See Also