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.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Enumeration Status
C#
[SerializableAttribute]
public enum Status
Visual C++
[SerializableAttribute]
public enum class Status
JavaScript
NHibernate.Impl.Status = function();
NHibernate.Impl.Status.createEnum('NHibernate.Impl.Status', false);

Members

Member nameDescription
Loaded
The Entity is snapshotted in the Session with the same state as the database (called Managed in H3).
Deleted
The Entity is in the Session and has been marked for deletion but not deleted from the database yet.
Gone
The Entity has been deleted from database.
Loading
The Entity is in the process of being loaded.
Saving
The Entity is in the process of being saved.

See Also