Bagikan melalui


CoreLoggerExtensions.MultipleNavigationProperties Metode

Definisi

Log untuk peristiwa tersebut MultipleNavigationProperties .

public static void MultipleNavigationProperties (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo,Type>> firstPropertyCollection, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo,Type>> secondPropertyCollection);
public static void MultipleNavigationProperties (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo?,Type>> firstPropertyCollection, System.Collections.Generic.IEnumerable<Tuple<System.Reflection.MemberInfo?,Type>> secondPropertyCollection);
static member MultipleNavigationProperties : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * seq<System.Reflection.MemberInfo * Type> * seq<System.Reflection.MemberInfo * Type> -> unit
<Extension()>
Public Sub MultipleNavigationProperties (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), firstPropertyCollection As IEnumerable(Of Tuple(Of MemberInfo, Type)), secondPropertyCollection As IEnumerable(Of Tuple(Of MemberInfo, Type)))

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

Pencatat diagnostik yang akan digunakan.

firstPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

Kumpulan properti pertama.

secondPropertyCollection
IEnumerable<Tuple<MemberInfo,Type>>

Set properti kedua.

Berlaku untuk