The EntityEntry type exposes the following members.
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.) | |
ForceLocked | ||
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLoadedValue | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsModifiableEntity |
Can the entity be modified?
The entity is modifiable if all of the following are true:
- the entity class is mutable
- the entity is not read-only
- if the current status is Status.Deleted, then the entity was not read-only when it was deleted
| |
IsNullifiable | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PostDelete |
After actually deleting a row, record the fact that the instance no longer
exists in the database
| |
PostInsert |
After actually inserting a row, record the fact that the instance exists on the
database (needed for identity-column key generation)
| |
PostUpdate |
After actually updating the database, update the snapshot information,
and escalate the lock mode.
| |
RequiresDirtyCheck | ||
SetReadOnly | ||
ToString | (Overrides Object..::..ToString()()()().) |
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 | |
---|---|---|
DeletedState |
Gets or sets the snapshot of the Entity when it was marked as being ready for deletion.
| |
EntityKey |
Get the EntityKey based on this EntityEntry.
| |
EntityName |
Gets the Fully Qualified Name of the class this Entity is an instance of.
| |
ExistsInDatabase |
Gets or sets a Boolean indicating if this Entity exists in the database.
| |
Id |
Gets or sets the identifier of the Entity in the database.
| |
IsBeingReplicated | ||
IsReadOnly | ||
LoadedState |
Gets or sets the snapshot of the Entity when it was loaded from the database.
| |
LoadedWithLazyPropertiesUnfetched | ||
LockMode |
Gets or sets the current LockMode of the Entity.
| |
Persister |
Gets or sets the IEntityPersister that is responsible for this Entity.
| |
RowId | ||
Status |
Gets or sets the Status of this Entity with respect to its
persistence in the database.
| |
Version |
Gets or sets the version of the Entity.
|