EntityState Enumeration Breeze.sharp
The state of an IEntity.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: (

public enum EntityState

  Member nameValueDescription
Detached1 The entity has been created but is not part of any EntityGroup. A Entity is in this state immediately after it has been created and before it is added to the EntityManager, or if it has been removed from the EntityManager.
Unchanged2 The entity has not changed since last queried or saved.
Added4 The entity has been added to the EntityManager.
Deleted8 The entity was deleted using the Entity.Delete() method.
Modified16 The entity has been modified and EntityManager.SaveChanges() has not been called.
AnyAddedModifiedOrDeleted28 Added or Modified or Deleted.
AllButDetached30 All states except detached.

See Also