IdeaBlade DevForce 2010 Help Reference
EntityState Enumeration
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityState Enumeration



The state of an IEntity.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum EntityState 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
Visual Basic (Usage)Copy Code
Dim instance As EntityState
C++/CLI 
[FlagsAttribute()]
public enum class EntityState : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  

Members

MemberDescription
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.

Remarks

Note that EntityAspect.AcceptChanges is called by the EntityManager after a successful EntityManager.SaveChanges call, and there is generally no need to call this method explicitly.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         IdeaBlade.EntityModel.EntityState

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.