The DefaultSaveEventListener type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CascadeAfterSave | Handles to calls needed to perform post-save cascades. (Inherited from AbstractSaveEventListener.) |
![]() | CascadeBeforeSave | Handles the calls needed to perform pre-save cascades for the given entity. (Inherited from AbstractSaveEventListener.) |
![]() | EntityIsDetached |
The given save-update event named a detached entity.
Here, we will perform the update processing.
(Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | EntityIsPersistent | (Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | EntityIsTransient |
The given save-update event named a transient entity.
Here, we will perform the save processing.
(Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | 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.) |
![]() | GetEntityState |
Determine whether the entity is persistent, detached, or transient
(Inherited from AbstractSaveEventListener.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLoggableName | (Inherited from AbstractSaveEventListener.) |
![]() | GetMergeMap | (Inherited from AbstractSaveEventListener.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUpdateId | Determine the id to use for updating. (Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | InvokeSaveLifecycle | (Inherited from AbstractSaveEventListener.) |
![]() | InvokeUpdateLifecycle | (Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnSaveOrUpdate | (Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | PerformSave |
Prepares the save call by checking the session caches for a pre-existing
entity and performing any lifecycle callbacks.
(Inherited from AbstractSaveEventListener.) |
![]() | PerformSaveOrReplicate |
Performs all the actual work needed to save an entity (well to get the save moved to
the execution queue).
(Inherited from AbstractSaveEventListener.) |
![]() | PerformSaveOrUpdate | (Overrides DefaultSaveOrUpdateEventListener..::..PerformSaveOrUpdate(SaveOrUpdateEvent).) |
![]() | PerformUpdate | (Inherited from DefaultSaveOrUpdateEventListener.) |
![]() | Reassociate |
Associates a given entity (either transient or associated with another session) to the given session.
(Inherited from AbstractReassociateEventListener.) |
![]() | ReassociateIfUninitializedProxy | (Overrides DefaultSaveOrUpdateEventListener..::..ReassociateIfUninitializedProxy(Object, ISessionImplementor).) |
![]() | SaveWithGeneratedId |
Prepares the save call using a newly generated id.
(Inherited from AbstractSaveEventListener.) |
![]() | SaveWithGeneratedOrRequestedId | (Overrides DefaultSaveOrUpdateEventListener..::..SaveWithGeneratedOrRequestedId(SaveOrUpdateEvent).) |
![]() | SaveWithRequestedId |
Prepares the save call using the given requested id.
(Inherited from AbstractSaveEventListener.) |
![]() | SubstituteValuesIfNecessary |
Perform any property value substitution that is necessary
(interceptor callback, version initialization...)
(Inherited from AbstractSaveEventListener.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Validate | (Inherited from AbstractSaveEventListener.) |
![]() | VisitCollectionsBeforeSave | (Inherited from AbstractSaveEventListener.) |
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.) |