EntityStates EntityStates EntityStates EntityStates Enum

Definition

Represents the enumeration that identifies the state of an entity being tracked by the DataServiceContext.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class EntityStates
[System.Flags]
public enum EntityStates
type EntityStates = 
Public Enum EntityStates
Inheritance
Attributes

Fields

Added Added Added Added 4

The entity was added since the last call to SaveChanges().

Deleted Deleted Deleted Deleted 8

The entity was deleted since the last call to SaveChanges().

Detached Detached Detached Detached 1

The entity was detached since the last call to SaveChanges().

Modified Modified Modified Modified 16

The entity was modified since the last call to SaveChanges().

Unchanged Unchanged Unchanged Unchanged 2

The entity is unchanged since the last call to SaveChanges().

Applies to