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 | |
---|---|---|
AddedEntities | Gets the collection of added entities. | |
IsEmpty | Gets a value indicating whether the EntityChangeSet has any changes. | |
ModifiedEntities | Gets the collection of modified entities. | |
RemovedEntities | Gets the collection of removed entities. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetChangeSetEntries | Gets a collection of ChangeSetEntry items for this changeset. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns a text representation of the EntityChangeSet. (Overrides Object.ToString().) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<Entity>.GetEnumerator | Returns an enumerator that iterates through the collection. | |
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.