다음을 통해 공유


RelationalLoggerExtensions.TriggerOnNonRootTphEntity 메서드

정의

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

public static void TriggerOnNonRootTphEntity (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member TriggerOnNonRootTphEntity : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
<Extension()>
Public Sub TriggerOnNonRootTphEntity (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 진단 로거입니다.

entityType
IEntityType

엔터티 형식입니다.

적용 대상