RelationalLoggerExtensions.IndexPropertiesMappedToNonOverlappingTables(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType, IIndex, String, List<ValueTuple<String,String>>, String, List<ValueTuple<String,String>>) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Olayı günlüğe kaydeder 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,string)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string,string)> 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,string?)> tablesMappedToProperty1, string property2Name, System.Collections.Generic.List<(string,string?)> 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)))
Parametreler
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model.Validation>
Kullanılacak tanılama günlükçüsü.
- entityType
- IEntityType
Dizinin tanımlandığı varlık türü.
- index
- IIndex
Varlık türündeki dizin.
- property1Name
- String
Geçersiz olan ilk özellik adı.
- tablesMappedToProperty1
- List<ValueTuple<String,String>>
İlk özelliğe eşlenen tablolar.
- property2Name
- String
Geçersiz olan ikinci özellik adı.
- tablesMappedToProperty2
- List<ValueTuple<String,String>>
İkinci özelliğe eşlenen tablolar.