Freigeben über


ICommandBatchPreparer.CreateCommandBatches Methode

Definition

Gibt bei einer Reihe von Änderungsbefehlen einen weiteren ausführungsbereiten Batch für diese Befehle zurück, wobei z. B. maximale Batchgrößen und andere Batchverarbeitungseinschränkungen berücksichtigt werden.

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 nach diesem Befehl innerhalb desselben Speichervorgangs weitere Befehlssätze erwartet werden.

Gibt zurück

Die Liste der auszuführenden Batches.

Gilt für: