EntitySet<TEntity> Methods

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

The EntitySet<TEntity> type exposes the following members.

  Name Description
Protected method AcceptChanges Accepts all changes made to this EntitySet. (Inherited from EntitySet.)
Public method Add(TEntity) Adds the specified entity to this entity set. Also, recursively adds all unattached entities that are reachable through associations.
Public method Add(Entity) Adds the specified Entity to this EntitySet. (Inherited from EntitySet.)
Public method Attach(TEntity) Attaches the specified Entity to this entity set in an unmodified state. Also, recursively attaches all unattached entities that are reachable through associations.
Public method Attach(Entity) Attaches the specified Entity to this EntitySet in an unmodified state. (Inherited from EntitySet.)
Public method Clear Clears all entities from the set. (Inherited from EntitySet.)
Protected method CreateEntity Creates a new entity. (Inherited from EntitySet.)
Protected method CreateList Creates the storage list for the set. (Inherited from EntitySet.)
Public method Detach(TEntity) Detaches the Entity from this entity set.
Public method Detach(Entity) Detaches the specified Entity from this EntitySet. (Inherited from EntitySet.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator for this entity set.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnCollectionChanged Called whenever the collection changes. (Inherited from EntitySet.)
Protected method OnPropertyChanged Called when an EntitySet property has changed. (Inherited from EntitySet.)
Protected method RaisePropertyChanged Raises the PropertyChanged event for the specified property. (Inherited from EntitySet.)
Protected method RejectChanges Reverts all changes made to this EntitySet. (Inherited from EntitySet.)
Public method Remove(TEntity) Removes the specified entity from the set. If the entity is the root of a compositional hierarchy, all child entities will also be removed.
Public method Remove(Entity) Removes the specified entity from the set. (Inherited from EntitySet.)
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IChangeTracking.AcceptChanges Resets the object’s state to unchanged by accepting the modifications. (Inherited from EntitySet.)
Explicit interface implemetation Private method ICollectionViewFactory.CreateView Returns a custom view for specialized sorting, filtering, grouping, and currency.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from EntitySet.)
Explicit interface implemetation Private method IEnumerable<TEntity>.GetEnumerator Returns an enumerator for this entity set.
Explicit interface implemetation Private method IRevertibleChangeTracking.RejectChanges Resets the object’s state to unchanged by rejecting the modifications. (Inherited from EntitySet.)
Top
Show: