EntitySet 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 Entity instances.
System.Object
System.ServiceModel.DomainServices.Client.EntitySet
System.ServiceModel.DomainServices.Client.EntitySet(Of TEntity)
System.ServiceModel.DomainServices.Client.EntitySet
System.ServiceModel.DomainServices.Client.EntitySet(Of TEntity)
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
The EntitySet type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CanAdd | Gets a value indicating whether the set allows new entities to be added. |
![]() | CanEdit | Gets a value indicating whether entities in the set can be edited. |
![]() | CanRemove | Gets a value indicating whether the set allows entities to be removed. |
![]() | Count | Gets the current count of entities in the set. |
![]() | EntityContainer | Gets the container for this EntitySet. |
![]() | EntityType | Gets the type of entity contained by this EntitySet. |
![]() | HasChanges | Gets a value indicating whether this EntitySet currently has any pending changes. |
![]() | IsReadOnly | Gets a value indicating whether this set supports update operations. |
![]() | List | Gets the backing list for this EntitySet. |
| Name | Description | |
|---|---|---|
![]() | AcceptChanges | Accepts all changes made to this EntitySet. |
![]() | Add | Adds the specified Entity to this EntitySet. |
![]() | Attach | Attaches the specified Entity to this EntitySet in an unmodified state. |
![]() | Clear | Clears all entities from the set. |
![]() | CreateEntity | Creates a new entity. |
![]() | CreateList | Creates the storage list for the set. |
![]() | Detach | Detaches the specified Entity from this EntitySet. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerator | Gets an enumerator for the collection. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OnCollectionChanged | Called whenever the collection changes. |
![]() | OnPropertyChanged | Called when an EntitySet property has changed. |
![]() | RaisePropertyChanged | Raises the PropertyChanged event for the specified property. |
![]() | RejectChanges | Reverts all changes made to this EntitySet. |
![]() | Remove | Removes the specified entity from the set. |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IChangeTracking.AcceptChanges | Resets the object’s state to unchanged by accepting the modifications. |
![]() ![]() | INotifyCollectionChanged.CollectionChanged | Occurs when the collection is changed, or is reset. |
![]() ![]() | IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. |
![]() ![]() | IChangeTracking.IsChanged | Gets the object's changed status. |
![]() ![]() | IRevertibleChangeTracking.RejectChanges | Resets the object’s state to unchanged by rejecting the modifications. |
Show:


