SaveChangesEventArgs(Boolean) 建構函式

定義

建立 或 DbContext.SaveChangesAsync 事件的基底事件引數實例 DbContext.SaveChanges

protected SaveChangesEventArgs (bool acceptAllChangesOnSuccess);
new Microsoft.EntityFrameworkCore.SaveChangesEventArgs : bool -> Microsoft.EntityFrameworkCore.SaveChangesEventArgs
Protected Sub New (acceptAllChangesOnSuccess As Boolean)

參數

acceptAllChangesOnSuccess
Boolean

傳遞至 SaveChanges 的值。

適用於