CoreLoggerExtensions.MultipleNavigationProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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)))
參數
- diagnostics
- IDiagnosticsLogger<DbLoggerCategory.Model>
要使用的診斷記錄器。
- firstPropertyCollection
- IEnumerable<Tuple<MemberInfo,Type>>
第一組屬性。
- secondPropertyCollection
- IEnumerable<Tuple<MemberInfo,Type>>
第二組屬性。