Table of Contents

Class SavingChangesEventArgs

Namespace
Microsoft.EntityFrameworkCore
Assembly
Microsoft.EntityFrameworkCore.dll

Event arguments for the SavingChanges event.

public class SavingChangesEventArgs : SaveChangesEventArgs
Inheritance
SavingChangesEventArgs
Inherited Members

Remarks

See Saving data in EF Core and EF Core events for more information and examples.

Constructors

SavingChangesEventArgs(bool)

Creates event arguments for the event.

public SavingChangesEventArgs(bool acceptAllChangesOnSuccess)

Parameters

acceptAllChangesOnSuccess bool

The value passed to SaveChanges.