DbSet<TEntity>.IAsyncEnumerable<TEntity>.GetAsyncEnumerator Méthode

Définition

Retourne un IAsyncEnumerator<T> qui, lorsqu’il est énuméré, exécute de façon asynchrone une requête sur la base de données.

System.Collections.Generic.IAsyncEnumerator<TEntity> IAsyncEnumerable<TEntity>.GetAsyncEnumerator (System.Threading.CancellationToken cancellationToken);
abstract member System.Collections.Generic.IAsyncEnumerable<TEntity>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<'Entity (requires 'Entity : null)>
override this.System.Collections.Generic.IAsyncEnumerable<TEntity>.GetAsyncEnumerator : System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerator<'Entity (requires 'Entity : null)>
Function GetAsyncEnumerator (cancellationToken As CancellationToken) As IAsyncEnumerator(Of TEntity) Implements IAsyncEnumerable(Of TEntity).GetAsyncEnumerator

Paramètres

cancellationToken
CancellationToken

Retours

IAsyncEnumerator<TEntity>

Résultats de requête.

Implémente

S’applique à