Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

EntityStates Enumeration

 

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.

Namespace:   System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

<FlagsAttribute>
Public Enumeration EntityStates
Member name Description
Added

The entity was added since the last call to SaveChanges.

Deleted

The entity was deleted since the last call to SaveChanges.

Detached

The entity was detached since the last call to SaveChanges.

Modified

The entity was modified since the last call to SaveChanges.

Unchanged

The entity is unchanged since the last call to SaveChanges.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top