ReaderModificationCommandBatch.ExecuteAsync Method

Definition

Executes the command generated by this batch against a database using the given connection.

C#
public override System.Threading.Tasks.Task ExecuteAsync (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Threading.CancellationToken cancellationToken = default);

Parameters

connection
IRelationalConnection

The connection to the database to update.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for the task to complete.

Returns

A task that represents the asynchronous operation.

Exceptions

Applies to

منتج الإصدارات
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0