Class SaveChangesEventArgs
- Namespace
- Microsoft.EntityFrameworkCore
- Assembly
- Microsoft.EntityFrameworkCore.dll
Base event arguments for the
public abstract class SaveChangesEventArgs : EventArgs
- Inheritance
-
SaveChangesEventArgs
- Derived
- Inherited Members
Remarks
See Saving data in EF Core and EF Core events for more information and examples.
Constructors
SaveChangesEventArgs(bool)
Creates a base event arguments instance for
protected SaveChangesEventArgs(bool acceptAllChangesOnSuccess)
Parameters
acceptAllChangesOnSuccess
boolThe value passed to SaveChanges.
Properties
AcceptAllChangesOnSuccess
The value passed to
public virtual bool AcceptAllChangesOnSuccess { get; }