Type Alias: EntityState
EntityState:
"added"|"modified"|"removed"|"unchanged"
Represents the state of an entity in a unit of work.
added - The entity has been added to the unit of work and will be
inserted into the database when the unit of work is committed.
modified - The entity has been modified and will be updated in the
database when the unit of work is committed.
removed - The entity has been removed from the unit of work and will
be deleted from the database when the unit of work is committed.
unchanged - The entity has not been modified and will not be
affected when the unit of work is committed.