The CascadeStyle type exposes the following members.

Methods

  NameDescription
Public methodDoCascade
For this style, should the given action be cascaded?
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetCascadeStyle
Factory method for obtaining named cascade styles
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReallyDoCascade
Probably more aptly named something like doCascadeToCollectionElements(); it is however used from both the collection and to-one logic branches...
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Fields

  NameDescription
Public fieldStatic memberAll
save / delete / update / evict / lock / replicate / merge / persist
Public fieldStatic memberAllDeleteOrphan
save / delete / update / evict / lock / replicate / merge / persist + delete orphans
Public fieldStatic memberDelete
delete
Public fieldStatic memberDeleteOrphan
delete + delete orphans
Public fieldStatic memberEvict
evict
Public fieldStatic memberLock
lock
Public fieldStatic memberMerge
merge
Public fieldStatic memberNone
no cascades
Public fieldStatic memberPersist
create
Public fieldStatic memberRefresh
refresh
Public fieldStatic memberReplicate
replicate
Public fieldStatic memberUpdate
save / update

Properties

  NameDescription
Public propertyHasOrphanDelete
Do we need to delete orphaned collection elements?

See Also