ModificationCommandBatch.ExecuteAsync Método

Definición

Envía comandos insert/update/delete a la base de datos.

public abstract System.Threading.Tasks.Task ExecuteAsync (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteAsync : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride Function ExecuteAsync (connection As IRelationalConnection, Optional cancellationToken As CancellationToken = Nothing) As Task

Parámetros

connection
IRelationalConnection

Conexión de base de datos que se va a usar.

cancellationToken
CancellationToken

Que CancellationToken se debe observar mientras se espera a que se complete la tarea.

Devoluciones

Tarea que representa la operación de guardado asincrónico.

Excepciones

Se aplica a