Freigeben über


ReaderModificationCommandBatch.CanAddCommand Methode

Definition

Überlädt

CanAddCommand(ModificationCommand)

Überprüft, ob dem Batch ein neuer Befehl hinzugefügt werden kann.

CanAddCommand(IReadOnlyModificationCommand)

Überprüft, ob dem Batch ein neuer Befehl hinzugefügt werden kann.

CanAddCommand(ModificationCommand)

Überprüft, ob dem Batch ein neuer Befehl hinzugefügt werden kann.

protected abstract bool CanAddCommand (Microsoft.EntityFrameworkCore.Update.ModificationCommand modificationCommand);
abstract member CanAddCommand : Microsoft.EntityFrameworkCore.Update.ModificationCommand -> bool
Protected MustOverride Function CanAddCommand (modificationCommand As ModificationCommand) As Boolean

Parameter

modificationCommand
ModificationCommand

Der befehl, der möglicherweise hinzugefügt werden soll.

Gibt zurück

true , wenn der Befehl hinzugefügt werden kann; false Andernfalls.

Gilt für:

CanAddCommand(IReadOnlyModificationCommand)

Überprüft, ob dem Batch ein neuer Befehl hinzugefügt werden kann.

protected abstract bool CanAddCommand (Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
abstract member CanAddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Protected MustOverride Function CanAddCommand (modificationCommand As IReadOnlyModificationCommand) As Boolean

Parameter

modificationCommand
IReadOnlyModificationCommand

Der befehl, der möglicherweise hinzugefügt werden soll.

Gibt zurück

true , wenn der Befehl hinzugefügt werden kann; false Andernfalls.

Gilt für: