DbQuery(Of TResult).IEnumerable(Of TResult).GetEnumerator Method

Entity Framework 5.0

Gets the enumeration of this query causing it to be executed against the store.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Private Function GetEnumerator As IEnumerator(Of TResult)
	Implements IEnumerable(Of TResult).GetEnumerator
Dim instance As DbQuery 
Dim returnValue As IEnumerator(Of TResult)

returnValue = CType(instance, IEnumerable(Of TResult)).GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator(Of TResult)
Returns aIEnumerator(Of T) for the query.


IEnumerable(Of T).GetEnumerator