Freigeben über


ICommandBatchPreparer.BatchCommands Methode

Definition

Überlädt

BatchCommands(IReadOnlyList<IUpdateEntry>)

Erstellt die Befehlsbatches, die zum Einfügen/Aktualisieren/Löschen der Entitäten erforderlich sind, die durch die angegebene Liste von IUpdateEntrys dargestellt werden.

BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)

Erstellt die Befehlsbatches, die zum Einfügen/Aktualisieren/Löschen der Entitäten erforderlich sind, die durch die angegebene Liste von IUpdateEntrys dargestellt werden.

BatchCommands(IReadOnlyList<IUpdateEntry>)

Erstellt die Befehlsbatches, die zum Einfügen/Aktualisieren/Löschen der Entitäten erforderlich sind, die durch die angegebene Liste von IUpdateEntrys dargestellt werden.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> BatchCommands (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries);
abstract member BatchCommands : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch>
Public Function BatchCommands (entries As IReadOnlyList(Of IUpdateEntry)) As IEnumerable(Of ModificationCommandBatch)

Parameter

entries
IReadOnlyList<IUpdateEntry>

Die Einträge, die die zu ändernden Entitäten darstellen.

Gibt zurück

Die Liste der auszuführenden Batches.

Gilt für:

BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)

Erstellt die Befehlsbatches, die zum Einfügen/Aktualisieren/Löschen der Entitäten erforderlich sind, die durch die angegebene Liste von IUpdateEntrys dargestellt werden.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch> BatchCommands (System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> entries, Microsoft.EntityFrameworkCore.Update.IUpdateAdapter updateAdapter);
abstract member BatchCommands : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> * Microsoft.EntityFrameworkCore.Update.IUpdateAdapter -> seq<Microsoft.EntityFrameworkCore.Update.ModificationCommandBatch>
Public Function BatchCommands (entries As IList(Of IUpdateEntry), updateAdapter As IUpdateAdapter) As IEnumerable(Of ModificationCommandBatch)

Parameter

entries
IList<IUpdateEntry>

Die Einträge, die die zu ändernden Entitäten darstellen.

updateAdapter
IUpdateAdapter

Die Modelldaten.

Gibt zurück

Die Liste der auszuführenden Batches.

Gilt für: