SavingChangesEventArgs(Boolean) 构造函数

定义

DbContext.SavingChanges 事件创建事件参数。

public SavingChangesEventArgs (bool acceptAllChangesOnSuccess);
new Microsoft.EntityFrameworkCore.SavingChangesEventArgs : bool -> Microsoft.EntityFrameworkCore.SavingChangesEventArgs
Public Sub New (acceptAllChangesOnSuccess As Boolean)

参数

acceptAllChangesOnSuccess
Boolean

传递给 SaveChanges 的值。

适用于