EntityState Enum
Represents the state of the entity relative to the unit of work.
Namespace: DevExpress.Mvvm.DataModel
Assembly: DevExpress.Mvvm.v24.2.DataModel.dll
NuGet Package: DevExpress.Scaffolding.Core
#Declaration
#Members
Name | Description |
---|---|
Detached
|
The object exists but is not being tracked. An entity is in this state immediately after it has been created and before it is added to the unit of work. An entity is also in this state after it has been removed from the unit of work by calling the IUnit |
Unchanged
|
The object has not been modified since it was attached to the unit of work or since the last time that the IUnit |
Added
|
The object is new, has been added to the unit of work, and the IUnit |
Deleted
|
The object has been deleted from the unit of work. After the changes are saved, the object state changes to Entity |
Modified
|
One of the scalar properties on the object has been modified and the IUnit |