EntityStates Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Member nameDescription
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
Show: