ReaderModificationCommandBatch.AddCommand Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
AddCommand(IReadOnlyModificationCommand) |
Komutun komut metnini listede verilen konumda ModificationCommands Güncelleştirmeler ekler. |
AddCommand(ModificationCommand) |
Verilen ekleme/güncelleştirme/silme ModificationCommands işlemini toplu iş grubuna ekler. |
AddCommand(IReadOnlyModificationCommand)
Komutun komut metnini listede verilen konumda ModificationCommands Güncelleştirmeler ekler.
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)
Parametreler
- modificationCommand
- IReadOnlyModificationCommand
Eklenecek komut.
Döndürülenler
true
komutu başarıyla eklendiyse; false
geçerli toplu işte komutu eklemek için yer yoksa ve bunun yerine yeni bir toplu iş için eklenmesi gerekir.
Şunlara uygulanır
AddCommand(ModificationCommand)
Verilen ekleme/güncelleştirme/silme ModificationCommands işlemini toplu iş grubuna ekler.
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
Parametreler
- modificationCommand
- ModificationCommand
Eklenecek komut.
Döndürülenler
true
komutu başarıyla eklendiyse; false
geçerli toplu işte komutu eklemek için yer yoksa ve bunun yerine yeni bir toplu iş için eklenmesi gerekir.
Şunlara uygulanır
Entity Framework