다음을 통해 공유


RelationalLoggerExtensions.ForeignKeyTpcPrincipalWarning 메서드

정의

이벤트를 기록합니다 ForeignKeyTpcPrincipalWarning .

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

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 진단 로거입니다.

foreignKey
IForeignKey

외래 키입니다.

적용 대상