語言

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>

查詢結果。

實作

適用於