Share via


DbContext.SavedChanges Event

Definition

An event fired at the end of a call to SaveChanges or SaveChangesAsync

public event EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs> SavedChanges;
public event EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs>? SavedChanges;

Event Type

Remarks

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

Applies to