Bagikan melalui


DbSet<TEntity>.IAsyncEnumerable<TEntity>.GetAsyncEnumerator Metode

Definisi

Mengembalikan yang IAsyncEnumerator<T> ketika dijumlahkan akan secara asinkron menjalankan kueri terhadap database.

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

Parameter

cancellationToken
CancellationToken

Mengembalikan

IAsyncEnumerator<TEntity>

Hasil kueri.

Penerapan

Berlaku untuk