Defines behavior of soft-cascade actions.

Namespace: NHibernate.Mapping.ByCode
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[FlagsAttribute]
public enum Cascade
Visual Basic
<FlagsAttribute> _
Public Enumeration Cascade
Visual C++
[FlagsAttribute]
public enum class Cascade

Members

Member nameValueDescription
None0
Persist2
Refresh4
Merge8
Remove16
Detach32
ReAttach64
DeleteOrphans128
All256
Has
Include
Exclude
ToCascadeString
IsIn Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsIn Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsBetween Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsProxy
As
ToTypeParameters

Remarks

To check the content or to include/exclude values, from cascade, is strongly recommanded the usage of extensions methods defined in CascadeExtensions

See Also