IRelationalConnection.RegisterBufferableAsync 方法

定义

异步注册可能可缓冲的活动查询。

public System.Threading.Tasks.Task RegisterBufferableAsync (Microsoft.EntityFrameworkCore.Query.Internal.IBufferable bufferable, System.Threading.CancellationToken cancellationToken);
abstract member RegisterBufferableAsync : Microsoft.EntityFrameworkCore.Query.Internal.IBufferable * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RegisterBufferableAsync (bufferable As IBufferable, cancellationToken As CancellationToken) As Task

参数

bufferable
Microsoft.EntityFrameworkCore.Query.Internal.IBufferable

可缓冲查询。

cancellationToken
CancellationToken

取消标记。

返回

任务。

适用于