다음을 통해 공유


RelationalLoggerExtensions.KeyPropertiesNotMappedToTable 메서드

정의

이벤트를 기록합니다 KeyPropertiesNotMappedToTable .

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

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 진단 로거입니다.

key
IKey

외래 키입니다.

적용 대상