DbSet<TEntity>.IAsyncEnumerable<TEntity>.GetAsyncEnumerator 方法

定義

傳回 , IAsyncEnumerator<T> 列舉時會以非同步方式對資料庫執行查詢。

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

參數

cancellationToken
CancellationToken

傳回

IAsyncEnumerator<TEntity>

查詢結果。

實作

適用於