EntitySet<TEntity> Methods

Include Protected Members
Include Inherited Members

The EntitySet<TEntity> type exposes the following members.

Methods

  Name Description
Public method Add Adds the specified entity to the EntitySet<TEntity>.
Public method Assign Replaces the entities currently associated with this EntitySet<TEntity> with the specified collection.
Public method Clear Removes all entities from this EntitySet<TEntity>.
Public method Clone Creates a shallow copy of the EntitySet<TEntity>.
Public method Contains(Object) Indicates whether a specified object is in the EntitySet<TEntity>.
Public method Contains(TEntity) Indicates whether a specified entity is in the EntitySet<TEntity>.
Public method CopyTo(Array, Int32) Copies the members of the EntitySet<TEntity> to the specified array beginning at the specified array index.
Public method CopyTo([], Int32) Copies the members of the EntitySet<TEntity> to the specified array beginning at the specified array index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the EntitySet<TEntity>.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf(Object) Returns the zero-based index of the first occurrence of the specified object in the collection.
Public method IndexOf(TEntity) Returns the zero-based index of the first occurrence of the specified entity in the collection.
Public method Insert Inserts a specified entity into the EntitySet<TEntity> at the specified index.
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Object) Removes the specified object from the EntitySet<TEntity>.
Public method Remove(TEntity) Removes the specified entity from the EntitySet<TEntity>.
Public method RemoveAt Removes the entity at the specified zero-based index of the EntitySet<TEntity>.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add Not implemented. Use Add(TEntity).
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an object that iterates the EntitySet<TEntity>.
Explicit interface implemetationPrivate method IList.Insert Inserts the specified object into the EntitySet<TEntity> at the specified index.

Top

See Also

Reference

EntitySet<TEntity> Class

Microsoft.SharePoint.Linq Namespace