The CascadeStyle type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| DoCascade | For this style, should the given action be cascaded? | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCascadeStyle | Factory method for obtaining named cascade styles | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReallyDoCascade |
Probably more aptly named something like doCascadeToCollectionElements();
it is however used from both the collection and to-one logic branches...
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |
Fields
| Name | Description | |
|---|---|---|
| All | save / delete / update / evict / lock / replicate / merge / persist | |
| AllDeleteOrphan | save / delete / update / evict / lock / replicate / merge / persist + delete orphans | |
| Delete | delete | |
| DeleteOrphan | delete + delete orphans | |
| Evict | evict | |
| Lock | lock | |
| Merge | merge | |
| None | no cascades | |
| Persist | create | |
| Refresh | refresh | |
| Replicate | replicate | |
| Update | save / update |
Properties
| Name | Description | |
|---|---|---|
| HasOrphanDelete | Do we need to delete orphaned collection elements? |