ModificationCommandBatch.AddCommand Yöntem

Tanım

Aşırı Yüklemeler

AddCommand(IReadOnlyModificationCommand)

Verilen ekleme/güncelleştirme/silme ModificationCommands işlemini toplu işe ekler.

AddCommand(ModificationCommand)

Verilen ekleme/güncelleştirme/silme ModificationCommands işlemini toplu işe ekler.

AddCommand(IReadOnlyModificationCommand)

Verilen ekleme/güncelleştirme/silme ModificationCommands işlemini toplu işe ekler.

public abstract bool AddCommand (Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
abstract member AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Public MustOverride Function AddCommand (modificationCommand As IReadOnlyModificationCommand) As Boolean

Parametreler

modificationCommand
IReadOnlyModificationCommand

Eklenecek komut.

Döndürülenler

Boolean

true Komut başarıyla eklendiyse; false geçerli toplu işte komutu eklemek için yer yoksa ve bunun yerine yeni bir toplu işe eklenmelidir.

Şunlara uygulanır

AddCommand(ModificationCommand)

Verilen ekleme/güncelleştirme/silme ModificationCommands işlemini toplu işe ekler.

public abstract bool AddCommand (Microsoft.EntityFrameworkCore.Update.ModificationCommand modificationCommand);
abstract member AddCommand : Microsoft.EntityFrameworkCore.Update.ModificationCommand -> bool
Public MustOverride Function AddCommand (modificationCommand As ModificationCommand) As Boolean

Parametreler

modificationCommand
ModificationCommand

Eklenecek komut.

Döndürülenler

Boolean

true Komut başarıyla eklendiyse; false geçerli toplu işte komutu eklemek için yer yoksa ve bunun yerine yeni bir toplu işe eklenmelidir.

Şunlara uygulanır