다음을 통해 공유


CoreLoggerExtensions.SaveChangesCompleted 메서드

정의

이벤트에 대한 로그입니다 SaveChangesCompleted .

public static void SaveChangesCompleted (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, int entitiesSavedCount);
public static int SaveChangesCompleted (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, int entitiesSavedCount);
static member SaveChangesCompleted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * int -> unit
static member SaveChangesCompleted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Update> * Microsoft.EntityFrameworkCore.DbContext * int -> int
<Extension()>
Public Sub SaveChangesCompleted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, entitiesSavedCount As Integer)
<Extension()>
Public Function SaveChangesCompleted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Update), context As DbContext, entitiesSavedCount As Integer) As Integer

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

사용할 진단 로거입니다.

context
DbContext

사용 중인 컨텍스트입니다.

entitiesSavedCount
Int32

저장된 엔터티 수입니다.

반환

가로챌 수 있는 결과입니다.

적용 대상