SingularModificationCommandBatch.CanAddCommand 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CanAddCommand(IReadOnlyModificationCommand) |
仅当尚未添加任何命令时返回 |
| CanAddCommand(ModificationCommand) |
仅当尚未添加任何命令时返回 |
CanAddCommand(IReadOnlyModificationCommand)
仅当尚未添加任何命令时返回 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
要添加的命令。
返回
适用于
CanAddCommand(ModificationCommand)
仅当尚未添加任何命令时返回 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
要添加的命令。
返回