Language

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

無効な 2 番目のプロパティ名。

tablesMappedToProperty2
List<ValueTuple<String,String>>

2 番目のプロパティにマップされたテーブル。

適用対象