Share via


DbContext.SavedChanges Event

Definition

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

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]
public event EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs>? SavedChanges;
public event EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs> SavedChanges;
public event EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs>? SavedChanges;
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]
member this.SavedChanges : EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs> 
member this.SavedChanges : EventHandler<Microsoft.EntityFrameworkCore.SavedChangesEventArgs> 
Public Event SavedChanges As EventHandler(Of SavedChangesEventArgs) 

Event Type

Attributes

Remarks

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

Applies to