DbContext.SavedChanges Event
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Evento generato alla fine di una chiamata a SaveChanges o 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)
Tipo evento
- Attributi
Commenti
Per altre informazioni ed esempi, vedere Salvataggio dei dati neglieventi di EF Core ed EF Core .