Partager via


ReaderModificationCommandBatch.AddCommand Méthode

Définition

Surcharges

AddCommand(IReadOnlyModificationCommand)

Ajoute Mises à jour le texte de la commande à la position donnée dans la ModificationCommands liste.

AddCommand(ModificationCommand)

Ajoute l’insertion/mise à jour/suppression ModificationCommands donnée au lot.

AddCommand(IReadOnlyModificationCommand)

Ajoute Mises à jour le texte de la commande à la position donnée dans la ModificationCommands liste.

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)

Paramètres

modificationCommand
IReadOnlyModificationCommand

Commande à ajouter.

Retours

true si la commande a été ajoutée avec succès ; false s’il n’y avait pas de place dans le lot actuel pour ajouter la commande et qu’elle doit être ajoutée à un nouveau lot.

S’applique à

AddCommand(ModificationCommand)

Ajoute l’insertion/mise à jour/suppression ModificationCommands donnée au lot.

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

Paramètres

modificationCommand
ModificationCommand

Commande à ajouter.

Retours

true si la commande a été ajoutée avec succès ; false s’il n’y avait pas de place dans le lot actuel pour ajouter la commande et qu’elle doit être ajoutée à un nouveau lot.

S’applique à