DbContext.SavingChanges Událost
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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 .