Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.