ReaderModificationCommandBatch.CanAddCommand 方法

定义

重载

CanAddCommand(ModificationCommand)

检查是否可以将新命令添加到批处理。

CanAddCommand(IReadOnlyModificationCommand)

检查是否可以将新命令添加到批处理。

CanAddCommand(ModificationCommand)

检查是否可以将新命令添加到批处理。

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

参数

modificationCommand
ModificationCommand

要添加的命令。

返回

true 如果可以添加命令,则为 ; false 否则。

适用于

CanAddCommand(IReadOnlyModificationCommand)

检查是否可以将新命令添加到批处理。

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

参数

modificationCommand
IReadOnlyModificationCommand

要添加的命令。

返回

true 如果可以添加命令,则为 ; false 否则。

适用于