Click or drag to resize

EntityState Enumeration

Enum definition for the state an Entity can be in.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public enum EntityState
Members
  Member nameValueDescription
New0 Entity is new. It can be empty or filled, but is not saved (yet) to the persistent storage.
Fetched1 Entity is filled with its data from the persistent storage. It can be changed since the fetch.
OutOfSync2 Entity is out of sync with its physical entity in the persistent storage. An Entity is marked OutOfSync when a succesful Save action is performed. An Entity will re-fetch itself when in the state OutOfSync when a property is read or Refetch() is called. The state will then be set to Fetched.
Deleted3 Adapter specific. If an entity has the state Deleted, it is no longer available in the persistent storage.
See Also