ICommandBatchPreparer.BatchCommands Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| BatchCommands(IReadOnlyList<IUpdateEntry>) |
Membuat batch perintah yang diperlukan untuk menyisipkan/memperbarui/menghapus entitas yang diwakili oleh daftar IUpdateEntryyang diberikan. |
| BatchCommands(IList<IUpdateEntry>, IUpdateAdapter) |
Membuat batch perintah yang diperlukan untuk menyisipkan/memperbarui/menghapus entitas yang diwakili oleh daftar IUpdateEntryyang diberikan. |
BatchCommands(IReadOnlyList<IUpdateEntry>)
Membuat batch perintah yang diperlukan untuk menyisipkan/memperbarui/menghapus entitas yang diwakili oleh daftar IUpdateEntryyang diberikan.
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>
Entri yang mewakili entitas yang akan dimodifikasi.
Mengembalikan
Daftar batch yang akan dieksekusi.
Berlaku untuk
BatchCommands(IList<IUpdateEntry>, IUpdateAdapter)
- Sumber:
- ICommandBatchPreparer.cs
- Sumber:
- ICommandBatchPreparer.cs
- Sumber:
- ICommandBatchPreparer.cs
Membuat batch perintah yang diperlukan untuk menyisipkan/memperbarui/menghapus entitas yang diwakili oleh daftar IUpdateEntryyang diberikan.
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>
Entri yang mewakili entitas yang akan dimodifikasi.
- updateAdapter
- IUpdateAdapter
Data model.
Mengembalikan
Daftar batch yang akan dieksekusi.