다음을 통해 공유


CoreLoggerExtensions.ContextInitialized 메서드

정의

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

public static void ContextInitialized (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.DbContextOptions contextOptions);
static member ContextInitialized : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.DbContextOptions -> unit
<Extension()>
Public Sub ContextInitialized (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), context As DbContext, contextOptions As DbContextOptions)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

사용할 진단 로거입니다.

context
DbContext

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

contextOptions
DbContextOptions

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

적용 대상