ReaderModificationCommandBatch.TryAddCommand 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.
Tente d’ajouter l’insertion/mise à jour/suppression modificationCommand donnée au lot.
public override bool TryAddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
override this.TryAddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Public Overrides Function TryAddCommand (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.