EntityChangeSet Class

WCF RIA Services

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


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

public final class EntityChangeSet implements IEnumerable<Entity>, IEnumerable

The EntityChangeSet type exposes the following members.

Public propertyAddedEntitiesGets the collection of added entities.
Public propertyIsEmptyGets a value indicating whether the EntityChangeSet has any changes.
Public propertyModifiedEntitiesGets the collection of modified entities.
Public propertyRemovedEntitiesGets the collection of removed entities.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetChangeSetEntriesGets a collection of ChangeSetEntry items for this changeset.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a text representation of the EntityChangeSet. (Overrides Object.ToString().)

Explicit interface implemetationPrivate methodIEnumerable(Entity).GetEnumeratorReturns an enumerator that iterates through the collection.
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorReturns an enumerator that iterates through the collection.

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