The AbstractSaveEventListener type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AbstractSaveEventListener | Initializes a new instance of the AbstractSaveEventListener class |
Methods
| Name | Description | |
|---|---|---|
| CascadeAfterSave | Handles to calls needed to perform post-save cascades. | |
| CascadeBeforeSave | Handles the calls needed to perform pre-save cascades for the given entity. | |
| 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
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLoggableName | ||
| GetMergeMap | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InvokeSaveLifecycle | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PerformSave |
Prepares the save call by checking the session caches for a pre-existing
entity and performing any lifecycle callbacks.
| |
| PerformSaveOrReplicate |
Performs all the actual work needed to save an entity (well to get the save moved to
the execution queue).
| |
| Reassociate |
Associates a given entity (either transient or associated with another session) to the given session.
(Inherited from AbstractReassociateEventListener.) | |
| SaveWithGeneratedId |
Prepares the save call using a newly generated id.
| |
| SaveWithRequestedId |
Prepares the save call using the given requested id.
| |
| SubstituteValuesIfNecessary |
Perform any property value substitution that is necessary
(interceptor callback, version initialization...)
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Validate | ||
| VisitCollectionsBeforeSave |
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.) |
Properties
| Name | Description | |
|---|---|---|
| AssumedUnsaved | ||
| CascadeAction | ||
| VersionIncrementDisabled |
After the save, will te version number be incremented
if the instance is modified?
|