Sprache

ICommandBatchPreparer.CreateCommandBatches Methode

Definition

Bei einer Reihe von Änderungsbefehlen werden für diese Befehle unter Berücksichtigung der maximalen Batchgrößen und anderer Batchverarbeitungseinschränkungen ein weiterer ready-to-execute-Batches zurückgegeben.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> CreateCommandBatches(System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand> commandSet, bool moreCommandSets);
abstract member CreateCommandBatches : seq<Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand> * bool -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch>
Public Function CreateCommandBatches (commandSet As IEnumerable(Of IReadOnlyModificationCommand), moreCommandSets As Boolean) As IEnumerable(Of ModificationCommandBatch)

Parameter

commandSet
IEnumerable<IReadOnlyModificationCommand>

Der Satz von Befehlen, die in Batches organisiert werden sollen.

moreCommandSets
Boolean

Gibt an, ob weitere Befehlssätze nach diesem Befehl innerhalb desselben Speichervorgangs erwartet werden.

Gibt zurück

Die Liste der auszuführenden Batches.

Gilt für: