ICommandBatchPreparer.BatchCommands Method

Definition

Overloads

BatchCommands(IReadOnlyList<IUpdateEntry>)

Creates the command batches needed to insert/update/delete the entities represented by the given list of IUpdateEntrys.

BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)

Creates the command batches needed to insert/update/delete the entities represented by the given list of IUpdateEntrys.

BatchCommands(IReadOnlyList<IUpdateEntry>)

Creates the command batches needed to insert/update/delete the entities represented by the given list of IUpdateEntrys.

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)

Parameters

entries
IReadOnlyList<IUpdateEntry>

The entries that represent the entities to be modified.

Returns

The list of batches to execute.

Applies to

BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)

Creates the command batches needed to insert/update/delete the entities represented by the given list of IUpdateEntrys.

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)

Parameters

entries
IList<IUpdateEntry>

The entries that represent the entities to be modified.

updateAdapter
IUpdateAdapter

The model data.

Returns

The list of batches to execute.

Applies to