Jazyk

DbContext.SavingChanges Událost

Definice

Událost se aktivovala na začátku hovoru nebo SaveChangesSaveChangesAsync

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

Event Type

Atributy

Poznámky

Další informace a příklady najdete v tématu Ukládání dat vudálostech EF Core a EF Core .

Platí pro