The PreInsertEvent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PreInsertEvent | Initializes a new instance of the PreInsertEvent class |
Methods
Name | Description | |
---|---|---|
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.) | |
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.) | |
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.) |
Properties
Name | Description | |
---|---|---|
Entity | The entity involved in the database operation. (Inherited from AbstractPreDatabaseOperationEvent.) | |
Id | The id to be used in the database operation. (Inherited from AbstractPreDatabaseOperationEvent.) | |
Persister |
The persister for the Entity.
(Inherited from AbstractPreDatabaseOperationEvent.) | |
Session |
Returns the session event source for this event.
This is the underlying session from which this event was generated.
(Inherited from AbstractEvent.) | |
State |
These are the values to be inserted.
|