Udostępnij za pośrednictwem


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:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration EntityStates
'Usage
Dim instance As EntityStates
[FlagsAttribute]
public enum EntityStates
[FlagsAttribute]
public enum class EntityStates
[<FlagsAttribute>]
type EntityStates
public enum EntityStates

Members

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.

See Also

Reference

System.Data.Services.Client Namespace