Called when an entity is passed to Update(Object).
Namespace: NHibernate.ClassicAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
LifecycleVeto OnUpdate( ISession s ) |
Visual Basic |
---|
Function OnUpdate ( _ s As ISession _ ) As LifecycleVeto |
Visual C++ |
---|
LifecycleVeto OnUpdate( ISession^ s ) |
Parameters
- s
- Type: NHibernate..::..ISession
The session
Return Value
A LifecycleVeto value indicating whether the operation should be vetoed or allowed to proceed.Remarks
This method is not called every time the object's state is
persisted during a flush.