We need an entry to tell us all about the current state
of an object with respect to its persistent state
The following tables list the members exposed by the EntityEntry type.
Public Methods
| Name | Description | |
|---|---|---|
| GetLoadedValue | ||
| PostInsert | ||
| PostUpdate | After actually updating the database, update the snapshot information,
and escalate the lock mode.
|
Public Constructors
| Name | Description | |
|---|---|---|
| EntityEntryNew |
Initializes a new instance of EntityEntry.
|
Public Properties
| Name | Description | |
|---|---|---|
| ClassName |
Gets the Fully Qualified Name of the class this Entity is an instance of.
| |
| DeletedState |
Gets or sets the snapshot of the Entity when it was marked as being ready for deletion.
| |
| 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 | ||
| LoadedState |
Gets or sets the snapshot of the Entity when it was loaded from the database.
| |
| LockMode |
Gets or sets the current LockMode of the Entity.
| |
| Persister |
Gets or sets the IEntityPersister that is responsible for this Entity.
| |
| 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.
|