언어

DbContext.SavingChanges 이벤트

정의

호출 SaveChanges 시작 시 발생한 이벤트 또는 SaveChangesAsync

[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) 

이벤트 유형

특성

설명

자세한 내용 및 예제 는 EF Core 및 EF Core 이벤트에 데이터 저장을 참조하세요.

적용 대상