SingularModificationCommandBatch.CanAddCommand 方法

定义

重载

CanAddCommand(IReadOnlyModificationCommand)

仅当已添加任何命令时,才返回 true

CanAddCommand(ModificationCommand)

仅当已添加任何命令时,才返回 true

CanAddCommand(IReadOnlyModificationCommand)

Source:
SingularModificationCommandBatch.cs

仅当已添加任何命令时,才返回 true

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

参数

modificationCommand
IReadOnlyModificationCommand

要添加的命令。

返回

true 如果尚未添加任何命令,则为 。

适用于

CanAddCommand(ModificationCommand)

Source:
SingularModificationCommandBatch.cs
Source:
SingularModificationCommandBatch.cs
Source:
SingularModificationCommandBatch.cs
Source:
SingularModificationCommandBatch.cs
Source:
SingularModificationCommandBatch.cs

仅当已添加任何命令时,才返回 true

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

参数

modificationCommand
ModificationCommand

要添加的命令。

返回

true 如果尚未添加任何命令,则为 。

适用于