Export (0) Print
Expand All
Expand Minimize

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)

[FlagsAttribute]
public enum EntityStates

Member nameDescription
AddedThe entity was added since the last call to SaveChanges.

DeletedThe entity was deleted since the last call to SaveChanges.

DetachedThe entity was detached since the last call to SaveChanges.

ModifiedThe entity was modified since the last call to SaveChanges.

UnchangedThe entity is unchanged since the last call to SaveChanges.

Show:
© 2014 Microsoft