Share via


ChangeSetEntry Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a change operation to be performed on an entity.

Inheritance Hierarchy

System.Object
  System.Web.Http.Data.ChangeSetEntry

Namespace:  System.Web.Http.Data
Assembly:  System.Web.Http.Data (in System.Web.Http.Data.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public NotInheritable Class ChangeSetEntry
[DataContractAttribute]
public sealed class ChangeSetEntry
[DataContractAttribute]
public ref class ChangeSetEntry sealed
[<Sealed>]
[<DataContractAttribute>]
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.

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 in conflict. The StoreEntity property contains the current store value for each member 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 indicating whether the ChangeSetEntry contains conflicts.
Public property HasError Gets a value indicating whether any of the ChangeSetEntry items has an error.
Public property Id Gets or sets the client ID for the entity.
Public property IsDeleteConflict Gets or sets a value indicating whether the conflict is a delete conflict. A delete conflict indicates the entity no longer exists in the store.
Public property Operation Gets or sets the ChangeOperation 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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.Web.Http.Data Namespace