Bagikan melalui


ReaderModificationCommandBatch.AddCommand Metode

Definisi

Overload

AddCommand(IReadOnlyModificationCommand)

Menambahkan Updates teks perintah untuk perintah pada posisi yang diberikan dalam ModificationCommands daftar.

AddCommand(ModificationCommand)

Menambahkan insert/update/delete ModificationCommands yang diberikan ke batch.

AddCommand(IReadOnlyModificationCommand)

Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs

Menambahkan Updates teks perintah untuk perintah pada posisi yang diberikan dalam ModificationCommands daftar.

public override bool AddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
protected virtual void AddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
abstract member AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
Public Overrides Function AddCommand (modificationCommand As IReadOnlyModificationCommand) As Boolean
Protected Overridable Sub AddCommand (modificationCommand As IReadOnlyModificationCommand)

Parameter

modificationCommand
IReadOnlyModificationCommand

Perintah yang akan ditambahkan.

Mengembalikan

true jika perintah berhasil ditambahkan; false jika tidak ada ruang dalam batch saat ini untuk menambahkan perintah dan sebaliknya harus ditambahkan ke batch baru.

Berlaku untuk

AddCommand(ModificationCommand)

Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs
Sumber:
ReaderModificationCommandBatch.cs

Menambahkan insert/update/delete ModificationCommands yang diberikan ke batch.

public override bool AddCommand(Microsoft.EntityFrameworkCore.Update.ModificationCommand modificationCommand);
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.ModificationCommand -> bool
Public Overrides Function AddCommand (modificationCommand As ModificationCommand) As Boolean

Parameter

modificationCommand
ModificationCommand

Perintah yang akan ditambahkan.

Mengembalikan

true jika perintah berhasil ditambahkan; false jika tidak ada ruang dalam batch saat ini untuk menambahkan perintah dan sebaliknya harus ditambahkan ke batch baru.

Berlaku untuk