语言

ReaderModificationCommandBatch.RollbackLastCommand 方法

定义

回滚添加的最后一个命令。 添加命令时使用,导致批处理变得无效(例如 CommandText 太长)。

protected virtual void RollbackLastCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
abstract member RollbackLastCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
override this.RollbackLastCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
Protected Overridable Sub RollbackLastCommand (modificationCommand As IReadOnlyModificationCommand)

参数

modificationCommand
IReadOnlyModificationCommand

适用于