Sprache

ReaderModificationCommandBatch.AddCommand Methode

Definition

Überlädt

Name Beschreibung
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)

Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs

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)

Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs
Quelle:
ReaderModificationCommandBatch.cs

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: