IDbAsyncEnumerator<T> Interface

 

Asynchronous version of the IEnumerator<T> interface that allows elements to be retrieved asynchronously. This interface is used to interact with Entity Framework queries and shouldn't be implemented by custom classes.

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

public interface IDbAsyncEnumerator<out T> : IDbAsyncEnumerator, 
	IDisposable

Type Parameters

outT

The type of objects to enumerate.

NameDescription
System_CAPS_pubpropertyCurrent

Gets the current element in the iteration.

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodMoveNextAsync(CancellationToken)

Advances the enumerator to the next element in the sequence, returning the result asynchronously.(Inherited from IDbAsyncEnumerator.)