Share via


EntityChangeSet 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 collection of changes to the Entity.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.EntityChangeSet

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

Syntax

'Declaration
Public NotInheritable Class EntityChangeSet _
    Implements IEnumerable(Of Entity), IEnumerable
'Usage
Dim instance As EntityChangeSet
public sealed class EntityChangeSet : IEnumerable<Entity>, 
    IEnumerable
public ref class EntityChangeSet sealed : IEnumerable<Entity^>, 
    IEnumerable
[<SealedAttribute>]
type EntityChangeSet =  
    class
        interface IEnumerable<Entity>
        interface IEnumerable
    end
public final class EntityChangeSet implements IEnumerable<Entity>, IEnumerable

The EntityChangeSet type exposes the following members.

Properties

  Name Description
Public property AddedEntities Gets the collection of added entities.
Public property IsEmpty Gets a value indicating whether the EntityChangeSet has any changes.
Public property ModifiedEntities Gets the collection of modified entities.
Public property RemovedEntities Gets the collection of removed entities.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChangeSetEntries Gets a collection of ChangeSetEntry items for this changeset.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a text representation of the EntityChangeSet. (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable<Entity>.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.

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.ServiceModel.DomainServices.Client Namespace