共用方式為


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 否則。

適用於