Cascade the action to the child object.

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

Syntax

C#
public abstract void Cascade(
	IEventSource session,
	Object child,
	string entityName,
	Object anything,
	bool isCascadeDeleteEnabled
)
Visual Basic
Public MustOverride Sub Cascade ( _
	session As IEventSource, _
	child As Object, _
	entityName As String, _
	anything As Object, _
	isCascadeDeleteEnabled As Boolean _
)
Visual C++
public:
virtual void Cascade(
	IEventSource^ session, 
	Object^ child, 
	String^ entityName, 
	Object^ anything, 
	bool isCascadeDeleteEnabled
) abstract

Parameters

session
Type: NHibernate.Event..::..IEventSource
The session within which the cascade is occurring.
child
Type: System..::..Object
The child to which cascading should be performed.
entityName
Type: System..::..String
The child's entity name
anything
Type: System..::..Object
Typically some form of cascade-local cache which is specific to each CascadingAction type
isCascadeDeleteEnabled
Type: System..::..Boolean
Are cascading deletes enabled.

See Also