ReaderModificationCommandBatch.CanAddCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework