EntityCollection<TEntity>.GetEnumerator Method ()

 

Returns an enumerator that is used to iterate through the objects in the collection.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

public IEnumerator<TEntity> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<TEntity>

An IEnumerator that iterates through the set of values cached by EntityCollection<TEntity> .