Freigeben über


EntityStates Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration EntityStates
[FlagsAttribute]
public enum EntityStates

Members

Member name Description
Detached The entity was detached since the last call to BeginSaveChanges.
Unchanged The entity is unchanged since the last call to BeginSaveChanges.
Added The entity was added since the last call to BeginSaveChanges.
Deleted The entity was deleted since the last call to BeginSaveChanges.
Modified The entity was modified since the last call to BeginSaveChanges.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.