EntityStates Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the enumeration that identifies the state of an entity being tracked by the DataServiceContext.
This enumeration supports a bitwise combination of its member values.
public enum class EntityStates
[System.Flags]
public enum EntityStates
[<System.Flags>]
type EntityStates =
Public Enum EntityStates
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Detached | 1 | The entity was detached since the last call to SaveChanges(). |
Unchanged | 2 | The entity is unchanged since the last call to SaveChanges(). |
Added | 4 | The entity was added since the last call to SaveChanges(). |
Deleted | 8 | The entity was deleted since the last call to SaveChanges(). |
Modified | 16 | The entity was modified since the last call to SaveChanges(). |