Share via


ReaderModificationCommandBatch.CanAddCommand Method

Definition

Overloads

CanAddCommand(ModificationCommand)

Checks whether or not a new command can be added to the batch.

CanAddCommand(IReadOnlyModificationCommand)

Checks whether a new command can be added to the batch.

CanAddCommand(ModificationCommand)

Checks whether or not a new command can be added to the batch.

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

Parameters

modificationCommand
ModificationCommand

The command to potentially add.

Returns

true if the command can be added; false otherwise.

Applies to

CanAddCommand(IReadOnlyModificationCommand)

Checks whether a new command can be added to the batch.

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

Parameters

modificationCommand
IReadOnlyModificationCommand

The command to potentially add.

Returns

true if the command can be added; false otherwise.

Applies to