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)

'Declaration
Private Function GetEnumerator As IEnumerator(Of TResult)
	Implements IEnumerable(Of TResult).GetEnumerator
'Usage
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.

Implements

IEnumerable(Of T).GetEnumerator
Show: