The DefaultSaveEventListener type exposes the following members.

Constructors

  NameDescription
Public methodDefaultSaveEventListener
Initializes a new instance of the DefaultSaveEventListener class

Methods

  NameDescription
Protected methodCascadeAfterSave
Handles to calls needed to perform post-save cascades.
(Inherited from AbstractSaveEventListener.)
Protected methodCascadeBeforeSave
Handles the calls needed to perform pre-save cascades for the given entity.
(Inherited from AbstractSaveEventListener.)
Protected methodEntityIsDetached
The given save-update event named a detached entity. Here, we will perform the update processing.
(Inherited from DefaultSaveOrUpdateEventListener.)
Protected methodEntityIsPersistent (Inherited from DefaultSaveOrUpdateEventListener.)
Protected methodEntityIsTransient
The given save-update event named a transient entity. Here, we will perform the save processing.
(Inherited from DefaultSaveOrUpdateEventListener.)
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.)
Protected methodGetEntityState
Determine whether the entity is persistent, detached, or transient
(Inherited from AbstractSaveEventListener.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetLoggableName (Inherited from AbstractSaveEventListener.)
Protected methodGetMergeMap (Inherited from AbstractSaveEventListener.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUpdateId
Determine the id to use for updating.
(Inherited from DefaultSaveOrUpdateEventListener.)
Protected methodInvokeSaveLifecycle (Inherited from AbstractSaveEventListener.)
Protected methodInvokeUpdateLifecycle (Inherited from DefaultSaveOrUpdateEventListener.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnSaveOrUpdate (Inherited from DefaultSaveOrUpdateEventListener.)
Protected methodPerformSave
Prepares the save call by checking the session caches for a pre-existing entity and performing any lifecycle callbacks.
(Inherited from AbstractSaveEventListener.)
Protected methodPerformSaveOrReplicate
Performs all the actual work needed to save an entity (well to get the save moved to the execution queue).
(Inherited from AbstractSaveEventListener.)
Protected methodPerformSaveOrUpdate (Overrides DefaultSaveOrUpdateEventListener..::..PerformSaveOrUpdate(SaveOrUpdateEvent).)
Protected methodPerformUpdate (Inherited from DefaultSaveOrUpdateEventListener.)
Protected methodReassociate
Associates a given entity (either transient or associated with another session) to the given session.
(Inherited from AbstractReassociateEventListener.)
Protected methodReassociateIfUninitializedProxy (Overrides DefaultSaveOrUpdateEventListener..::..ReassociateIfUninitializedProxy(Object, ISessionImplementor).)
Protected methodSaveWithGeneratedId
Prepares the save call using a newly generated id.
(Inherited from AbstractSaveEventListener.)
Protected methodSaveWithGeneratedOrRequestedId (Overrides DefaultSaveOrUpdateEventListener..::..SaveWithGeneratedOrRequestedId(SaveOrUpdateEvent).)
Protected methodSaveWithRequestedId
Prepares the save call using the given requested id.
(Inherited from AbstractSaveEventListener.)
Protected methodSubstituteValuesIfNecessary
Perform any property value substitution that is necessary (interceptor callback, version initialization...)
(Inherited from AbstractSaveEventListener.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidate (Inherited from AbstractSaveEventListener.)
Protected methodVisitCollectionsBeforeSave (Inherited from AbstractSaveEventListener.)

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.)

Properties

  NameDescription
Protected propertyAssumedUnsaved (Inherited from AbstractSaveEventListener.)
Protected propertyCascadeAction (Inherited from DefaultSaveOrUpdateEventListener.)
Protected propertyVersionIncrementDisabled
After the save, will te version number be incremented if the instance is modified?
(Inherited from AbstractSaveEventListener.)

See Also