Share via


IDbAsyncEnumerator<T> Interface

Definition

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.

public interface IDbAsyncEnumerator<out T> : IDisposable, System.Data.Entity.Infrastructure.IDbAsyncEnumerator
type IDbAsyncEnumerator<'T> = interface
    interface IDbAsyncEnumerator
    interface IDisposable
Public Interface IDbAsyncEnumerator(Of Out T)
Implements IDbAsyncEnumerator, IDisposable

Type Parameters

T

The type of objects to enumerate.

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Implements

Properties

Current

Gets the current element in the iteration.

Methods

MoveNextAsync(CancellationToken)

Advances the enumerator to the next element in the sequence, returning the result asynchronously.

(Inherited from IDbAsyncEnumerator)

Applies to