Share via


DbSet<TEntity>.IAsyncEnumerable<TEntity>.GetAsyncEnumerator Metoda

Definice

Vrátí hodnotu IAsyncEnumerator<T> , která při výčtu provede asynchronně dotaz na databázi.

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

Parametry

cancellationToken
CancellationToken

Návraty

IAsyncEnumerator<TEntity>

Výsledky dotazu.

Implementuje

Platí pro