EntityConflict Class

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Represents an entity conflict.


Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

public sealed class EntityConflict

The EntityConflict type exposes the following members.

Public propertyCurrentEntityGets the current Entity instance.
Public propertyIsDeletedGets a value indicating whether the entity no longer exists in the store.
Public propertyOriginalEntityGets the original Entity instance.
Public propertyPropertyNamesGets a collection of the property names in conflict.
Public propertyStoreEntityGets the store Entity instance.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodResolveResolves the conflict by updating the entity's original state with the current store state.
Public methodToString (Inherited from Object.)

An entity conflict indicates that the values in the data source no longer match the values that were originally retrieved. The data modification operation cannot proceed because it may overwrite values that were saved by another process.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.