ReaderModificationCommandBatch.AddCommand Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| AddCommand(IReadOnlyModificationCommand) |
Ajoute Met à jour le texte de la commande pour 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 Met à jour le texte de la commande pour la commande à la position donnée dans la ModificationCommands liste.
protected virtual void AddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
public override bool AddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
abstract member AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Protected Overridable Sub AddCommand (modificationCommand As IReadOnlyModificationCommand)
Public Overrides Function AddCommand (modificationCommand As IReadOnlyModificationCommand) As Boolean
Paramètres
- modificationCommand
- IReadOnlyModificationCommand
Commande à ajouter.
Retours
true si la commande a été correctement ajoutée ; 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é correctement ajoutée ; 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.