ISaveChangesInterceptor.SaveChangesCanceled(DbContextEventData) 方法

定义

取消时 DbContext.SaveChanges 调用。

public virtual void SaveChangesCanceled (Microsoft.EntityFrameworkCore.Diagnostics.DbContextEventData eventData);
abstract member SaveChangesCanceled : Microsoft.EntityFrameworkCore.Diagnostics.DbContextEventData -> unit
override this.SaveChangesCanceled : Microsoft.EntityFrameworkCore.Diagnostics.DbContextEventData -> unit
Public Overridable Sub SaveChangesCanceled (eventData As DbContextEventData)

参数

eventData
DbContextEventData

有关失败的上下文信息。

适用于