Share via


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

Definição

Retorna um IAsyncEnumerator<T> que, quando enumerado, executará de forma assíncrona uma consulta no banco de dados.

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

Parâmetros

cancellationToken
CancellationToken

Retornos

IAsyncEnumerator<TEntity>

Os resultados da consulta.

Implementações

Aplica-se a