ReaderModificationCommandBatch.AddCommand Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AddCommand(IReadOnlyModificationCommand) |
Fügt Updates den Befehlstext für den Befehl an der angegebenen Position in der ModificationCommands Liste hinzu. |
AddCommand(ModificationCommand) |
Fügt dem Batch das angegebene insert/update/delete ModificationCommands hinzu. |
AddCommand(IReadOnlyModificationCommand)
Fügt Updates den Befehlstext für den Befehl an der angegebenen Position in der ModificationCommands Liste hinzu.
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)
Parameter
- modificationCommand
- IReadOnlyModificationCommand
Der hinzuzufügende Befehl.
Gibt zurück
true
, wenn der Befehl erfolgreich hinzugefügt wurde; false
, wenn im aktuellen Batch kein Platz zum Hinzufügen des Befehls vorhanden war und er stattdessen einem neuen Batch hinzugefügt werden muss.
Gilt für:
AddCommand(ModificationCommand)
Fügt dem Batch das angegebene insert/update/delete ModificationCommands hinzu.
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
Parameter
- modificationCommand
- ModificationCommand
Der hinzuzufügende Befehl.
Gibt zurück
true
, wenn der Befehl erfolgreich hinzugefügt wurde; false
, wenn im aktuellen Batch kein Platz zum Hinzufügen des Befehls vorhanden war und er stattdessen einem neuen Batch hinzugefügt werden muss.
Gilt für:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für