EntityConflict Class

[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.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.EntityConflict

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

Syntax

'Declaration
Public NotInheritable Class EntityConflict
'Usage
Dim instance As EntityConflict
public sealed class EntityConflict
public ref class EntityConflict sealed
[<SealedAttribute>]
type EntityConflict =  class end
public final class EntityConflict

The EntityConflict type exposes the following members.

Properties

  Name Description
Public property CurrentEntity Gets the current Entity instance.
Public property IsDeleted Gets a value indicating whether the entity no longer exists in the store.
Public property OriginalEntity Gets the original Entity instance.
Public property PropertyNames Gets a collection of the property names in conflict.
Public property StoreEntity Gets the store Entity instance.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Resolve Resolves the conflict by updating the entity's original state with the current store state.
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

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

See Also

Reference

System.ServiceModel.DomainServices.Client Namespace