IRelationalConnection.RegisterBufferableAsync Method

Definition

Asynchronously registers a potentially bufferable active query.

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

Parameters

bufferable
Microsoft.EntityFrameworkCore.Query.Internal.IBufferable

The bufferable query.

cancellationToken
CancellationToken

The cancellation token.

Returns

A Task.

Applies to