Dil

ICommandBatchPreparer.CreateCommandBatches Yöntem

Tanım

Bir dizi değişiklik komutu göz önünde bulundurulduğunda, en büyük toplu iş boyutları ve diğer toplu iş kısıtlamaları gibi dikkate alınarak bu komutlar için yürütülmeye hazır bir toplu iş daha döndürür.

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)

Parametreler

commandSet
IEnumerable<IReadOnlyModificationCommand>

Toplu olarak düzenlenecek komut kümesi.

moreCommandSets
Boolean

Aynı kaydetme işlemi içinde bundan sonra daha fazla komut kümesinin beklenip beklenmediği.

Döndürülenler

Yürütülecek toplu iş listesi.

Şunlara uygulanır