Condividi tramite


RelationalLoggerExtensions.IndexPropertiesMappedToNonOverlappingTables Metodo

Definizione

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)))

Parametri

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Logger di diagnostica da usare.

entityType
IEntityType

Tipo di entità in cui è definito l'indice.

index
IIndex

Indice del tipo di entità.

property1Name
String

Nome della prima proprietà non valido.

tablesMappedToProperty1
List<ValueTuple<String,String>>

Tabelle mappate alla prima proprietà.

property2Name
String

Secondo nome della proprietà non valido.

tablesMappedToProperty2
List<ValueTuple<String,String>>

Tabelle mappate alla seconda proprietà.

Si applica a