Compartilhar via


ChangeSetEntry 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 a domain operation to be performed on an entity.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.ChangeSetEntry

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

Syntax

'Declaration
<DataContractAttribute(Namespace := "DomainServices")> _
Public NotInheritable Class ChangeSetEntry
'Usage
Dim instance As ChangeSetEntry
[DataContractAttribute(Namespace = "DomainServices")]
public sealed class ChangeSetEntry
[DataContractAttribute(Namespace = L"DomainServices")]
public ref class ChangeSetEntry sealed
[<SealedAttribute>]
[<DataContractAttribute(Namespace = "DomainServices")>]
type ChangeSetEntry =  class end
public final class ChangeSetEntry

The ChangeSetEntry type exposes the following members.

Constructors

  Name Description
Public method ChangeSetEntry Initializes a new instance of the ChangeSetEntry class with the specified parameters.

Top

Properties

  Name Description
Public property Associations Gets or sets the collection of IDs for all entities associated with the entity in the operation.
Public property ClientEntity Gets or sets the entity that was originally submitted.
Public property ConflictMembers Gets or sets the collection of members that are in conflict.
Public property Entity Gets or sets the entity being operated on.
Public property EntityActions Gets or sets the custom methods invoked on the entity.
Public property HasConflict Gets a value that indicates whether the ChangeSetEntry contains conflicts.
Public property HasMemberChanges Gets or sets a value that indicates whether the entity for this operation has property modifications.
Public property Id Gets or sets the client ID for the entity.
Public property IsDeleteConflict Gets or sets whether the conflict is a delete conflict, which means that the entity no longer exists in the store.
Public property Operation Gets or sets the EntityOperationType for this change set.
Public property OriginalAssociations Gets or sets the collection of entity IDs that represents the entities for each association of the OriginalEntity.
Public property OriginalEntity Gets or sets the original state of the entity being operated on.
Public property StoreEntity Gets or sets the state of the entity in the store.
Public property ValidationErrors Gets or sets the validation errors encountered during the processing of the operation.

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 ToString (Inherited from Object.)

Top

Remarks

The ChangeSetEntry class represents the message type passed between DomainClient and DomainService when an operation is executed. It is used for sending the operation to the DomainService and for receiving the operation results.

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