SavedChangesEventArgs(Boolean, Int32) Constructor

Definition

Creates a new SavedChangesEventArgs instance with the given number of entities saved.

public SavedChangesEventArgs (bool acceptAllChangesOnSuccess, int entitiesSavedCount);
new Microsoft.EntityFrameworkCore.SavedChangesEventArgs : bool * int -> Microsoft.EntityFrameworkCore.SavedChangesEventArgs
Public Sub New (acceptAllChangesOnSuccess As Boolean, entitiesSavedCount As Integer)

Parameters

acceptAllChangesOnSuccess
Boolean

The value passed to SaveChanges.

entitiesSavedCount
Int32

The number of entities saved.

Applies to