다음을 통해 공유


RelationalLoggerExtensions.IndexPropertiesMappedToNonOverlappingTables 메서드

정의

이벤트를 기록합니다 IndexPropertiesMappedToNonOverlappingTables .

public static void IndexPropertiesMappedToNonOverlappingTables (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IIndex index, string property1Name, System.Collections.Generic.List<(string Table, string Schema)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string Table, string Schema)> tablesMappedToProperty2);
public static void IndexPropertiesMappedToNonOverlappingTables (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IIndex index, string property1Name, System.Collections.Generic.List<(string Table, string? Schema)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string Table, string? Schema)> tablesMappedToProperty2);
static member IndexPropertiesMappedToNonOverlappingTables : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IIndex * string * System.Collections.Generic.List<ValueTuple<string, string>> * string * System.Collections.Generic.List<ValueTuple<string, string>> -> unit
<Extension()>
Public Sub IndexPropertiesMappedToNonOverlappingTables (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), entityType As IEntityType, index As IIndex, property1Name As String, tablesMappedToProperty1 As List(Of ValueTuple(Of String, String)), property2Name As String, tablesMappedToProperty2 As List(Of ValueTuple(Of String, String)))

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

사용할 진단 로거입니다.

entityType
IEntityType

인덱스가 정의된 엔터티 형식입니다.

index
IIndex

엔터티 형식의 인덱스입니다.

property1Name
String

잘못된 첫 번째 속성 이름입니다.

tablesMappedToProperty1
List<ValueTuple<String,String>>

첫 번째 속성에 매핑된 테이블입니다.

property2Name
String

잘못된 두 번째 속성 이름입니다.

tablesMappedToProperty2
List<ValueTuple<String,String>>

두 번째 속성에 매핑된 테이블입니다.

적용 대상