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.Server.ChangeSetEntry

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.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.
Public method ChangeSetEntry(Int32, Object, Object, DomainOperation) 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 of the associated entities for each association of the entity.
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 as a set of method name/parameter set pairs.
Public property HasConflict Gets a value that indicates whether the ChangeSetEntry contains conflicts.
Public property HasError Gets a value indicating whether any errors were encountered during processing of the operation.
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, meaning the entity no longer exists in the store.
Public property Operation Gets or sets the DomainOperation to be performed on the entity.
Public property OriginalAssociations Gets or sets the collection of IDs 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 data 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

This is the message type passed between DomainClient and DomainService. ChangeSetEntry is used both for sending operations to the DomainService and for returning operation results back to the DomainClient.

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.Server Namespace