Cascade an action from the parent entity instance to all its children. This
form is typicaly called from within cascade actions.
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public void CascadeOn( IEntityPersister persister, Object parent, Object anything ) |
Visual Basic |
---|
Public Sub CascadeOn ( _ persister As IEntityPersister, _ parent As Object, _ anything As Object _ ) |
Visual C++ |
---|
public: void CascadeOn( IEntityPersister^ persister, Object^ parent, Object^ anything ) |
Parameters
- persister
- Type: NHibernate.Persister.Entity..::..IEntityPersister
The parent's entity persister
- parent
- Type: System..::..Object
The parent reference.
- anything
- Type: System..::..Object
Typically some form of cascade-local cache which is specific to each CascadingAction type