Represents the status of an entity with respect to this session. These statuses are for internal book-keeping only and are not intended to represent any notion that is visible to the application.

Namespace: NHibernate.Engine
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public enum Status
Visual Basic
<SerializableAttribute> _
Public Enumeration Status
Visual C++
[SerializableAttribute]
public enum class Status

Members

Member nameValueDescription
Loaded0 The Entity is snapshotted in the Session with the same state as the database (called Managed in H3).
Deleted1 The Entity is in the Session and has been marked for deletion but not deleted from the database yet.
Gone2 The Entity has been deleted from database.
Loading3 The Entity is in the process of being loaded.
Saving4 The Entity is in the process of being saved.
ReadOnly5 The entity is read-only.
IsIn Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsIn Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsBetween Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
IsProxy
As
ToTypeParameters

See Also