다음을 통해 공유


CoreLoggerExtensions.ForeignKeyAttributesOnBothNavigationsWarning 메서드

정의

오버로드

ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation)

이벤트에 대한 로그입니다 ForeignKeyAttributesOnBothNavigationsWarning .

ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation)

이벤트에 대한 로그입니다 ForeignKeyAttributesOnBothNavigationsWarning .

ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation)

Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs

이벤트에 대한 로그입니다 ForeignKeyAttributesOnBothNavigationsWarning .

public static void ForeignKeyAttributesOnBothNavigationsWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.INavigation firstNavigation, Microsoft.EntityFrameworkCore.Metadata.INavigation secondNavigation);
static member ForeignKeyAttributesOnBothNavigationsWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
<Extension()>
Public Sub ForeignKeyAttributesOnBothNavigationsWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), firstNavigation As INavigation, secondNavigation As INavigation)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

사용할 진단 로거입니다.

firstNavigation
INavigation

첫 번째 탐색 속성입니다.

secondNavigation
INavigation

두 번째 탐색 속성입니다.

적용 대상

ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation)

Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs
Source:
CoreLoggerExtensions.cs

이벤트에 대한 로그입니다 ForeignKeyAttributesOnBothNavigationsWarning .

public static void ForeignKeyAttributesOnBothNavigationsWarning (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> diagnostics, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation firstNavigation, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation secondNavigation);
static member ForeignKeyAttributesOnBothNavigationsWarning : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation -> unit
<Extension()>
Public Sub ForeignKeyAttributesOnBothNavigationsWarning (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Model), firstNavigation As IReadOnlyNavigation, secondNavigation As IReadOnlyNavigation)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

사용할 진단 로거입니다.

firstNavigation
IReadOnlyNavigation

첫 번째 탐색 속성입니다.

secondNavigation
IReadOnlyNavigation

두 번째 탐색 속성입니다.

적용 대상