Edit

Share via


EntityStates Enum

Definition

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
EntityStates
Attributes

Fields

Added 4

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

Deleted 8

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

Detached 1

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

Modified 16

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

Unchanged 2

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

Applies to