다음을 통해 공유


CoreLoggerExtensions.DetachedLazyLoadingWarning 메서드

정의

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

public static void DetachedLazyLoadingWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext context, object entityType, string navigationName);
public static void DetachedLazyLoadingWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, Microsoft.EntityFrameworkCore.DbContext? context, object entityType, string navigationName);
static member DetachedLazyLoadingWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * Microsoft.EntityFrameworkCore.DbContext * obj * string -> unit
<Extension()>
Public Sub DetachedLazyLoadingWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), context As DbContext, entityType As Object, navigationName As String)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

사용할 진단 로거입니다.

context
DbContext

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

entityType
Object

엔터티 형식입니다.

navigationName
String

탐색 속성의 이름입니다.

적용 대상