Called (in the case of RequiresNoCascadeChecking returning true) to validate that no cascade on the given property is considered a valid semantic.

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

Syntax

C#
public virtual void NoCascade(
	IEventSource session,
	Object child,
	Object parent,
	IEntityPersister persister,
	int propertyIndex
)
Visual Basic
Public Overridable Sub NoCascade ( _
	session As IEventSource, _
	child As Object, _
	parent As Object, _
	persister As IEntityPersister, _
	propertyIndex As Integer _
)
Visual C++
public:
virtual void NoCascade(
	IEventSource^ session, 
	Object^ child, 
	Object^ parent, 
	IEntityPersister^ persister, 
	int propertyIndex
)

Parameters

session
Type: NHibernate.Event..::..IEventSource
The session within which the cascade is occurring.
child
Type: System..::..Object
The property value
parent
Type: System..::..Object
The property value owner
persister
Type: NHibernate.Persister.Entity..::..IEntityPersister
The entity persister for the owner
propertyIndex
Type: System..::..Int32
The index of the property within the owner.

See Also