Share via


SingularModificationCommandBatch.CanAddCommand Method

Definition

Overloads

CanAddCommand(IReadOnlyModificationCommand)

Only returns true if the no command has already been added.

CanAddCommand(ModificationCommand)

Only returns true if the no command has already been added.

CanAddCommand(IReadOnlyModificationCommand)

Only returns true if the no command has already been added.

protected override bool CanAddCommand (Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
override this.CanAddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Protected Overrides Function CanAddCommand (modificationCommand As IReadOnlyModificationCommand) As Boolean

Parameters

modificationCommand
IReadOnlyModificationCommand

The command to potentially add.

Returns

true if no command has already been added.

Applies to

CanAddCommand(ModificationCommand)

Only returns true if the no command has already been added.

protected override bool CanAddCommand (Microsoft.EntityFrameworkCore.Update.ModificationCommand modificationCommand);
override this.CanAddCommand : Microsoft.EntityFrameworkCore.Update.ModificationCommand -> bool
Protected Overrides Function CanAddCommand (modificationCommand As ModificationCommand) As Boolean

Parameters

modificationCommand
ModificationCommand

The command to potentially add.

Returns

true if no command has already been added.

Applies to