語言

ICommandBatchPreparer.BatchCommands 方法

定義

多載

名稱 Description
BatchCommands(IReadOnlyList<IUpdateEntry>)

建立指令批次,用來插入/更新/刪除由給定 s 清單 IUpdateEntry所代表的實體。

BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)

建立指令批次,用來插入/更新/刪除由給定 s 清單 IUpdateEntry所代表的實體。

BatchCommands(IReadOnlyList<IUpdateEntry>)

建立指令批次,用來插入/更新/刪除由給定 s 清單 IUpdateEntry所代表的實體。

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)

參數

entries
IReadOnlyList<IUpdateEntry>

代表待修改實體的條目。

傳回

要執行的批次清單。

適用於

BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)

來源:
ICommandBatchPreparer.cs
來源:
ICommandBatchPreparer.cs
來源:
ICommandBatchPreparer.cs
來源:
ICommandBatchPreparer.cs
來源:
ICommandBatchPreparer.cs

建立指令批次,用來插入/更新/刪除由給定 s 清單 IUpdateEntry所代表的實體。

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)

參數

entries
IList<IUpdateEntry>

代表待修改實體的條目。

updateAdapter
IUpdateAdapter

模型資料。

傳回

要執行的批次清單。

適用於