IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityState Enumeration |
'Declaration
<FlagsAttribute()> Public Enum EntityState Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As EntityState
[Flags()] public enum EntityState : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Added | The entity has been added to the EntityManager. |
AllButDetached | All states except detached. |
AnyAddedModifiedOrDeleted | Added or Modified or Deleted. |
Deleted | The entity was deleted using the Entity.Delete() method. |
Detached | 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. |
Modified | The entity has been modified and EntityManager.SaveChanges() has not been called. |
Unchanged | The entity has not changed since last queried or saved. |
System.Object
System.ValueType
System.Enum
IdeaBlade.EntityModel.EntityState
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2