Condividi tramite


IBatchExecutor.Execute Metodo

Definizione

Esegue i comandi nei batch rispetto alla connessione del database specificata.

public int Execute (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> commandBatches, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
abstract member Execute : seq<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> int
Public Function Execute (commandBatches As IEnumerable(Of ModificationCommandBatch), connection As IRelationalConnection) As Integer

Parametri

commandBatches
IEnumerable<ModificationCommandBatch>

Batch da eseguire.

connection
IRelationalConnection

Connessione al database da usare.

Restituisce

Numero totale di righe interessate.

Si applica a