DbSet<TEntity>.IAsyncEnumerable<TEntity>.GetAsyncEnumerator Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Résultats de requête.