次の方法で共有


CoreLoggerExtensions.NonNullableReferenceOnBothNavigations メソッド

定義

オーバーロード

NonNullableReferenceOnBothNavigations(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation)
古い.

イベントの NonNullableReferenceOnBothNavigations ログ。

NonNullableReferenceOnBothNavigations(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation)
古い.

イベントの NonNullableReferenceOnBothNavigations ログ。

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

ソース:
CoreLoggerExtensions.cs
ソース:
CoreLoggerExtensions.cs
ソース:
CoreLoggerExtensions.cs

注意事項

この API は非推奨になりました。

イベントの NonNullableReferenceOnBothNavigations ログ。

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

パラメーター

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

使用する診断 ロガー。

firstNavigation
INavigation

最初のナビゲーション プロパティ。

secondNavigation
INavigation

2 番目のナビゲーション プロパティ。

属性

適用対象

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

ソース:
CoreLoggerExtensions.cs

注意事項

この API は非推奨になりました。

イベントの NonNullableReferenceOnBothNavigations ログ。

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

パラメーター

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

使用する診断 ロガー。

firstNavigation
IReadOnlyNavigation

最初のナビゲーション プロパティ。

secondNavigation
IReadOnlyNavigation

2 番目のナビゲーション プロパティ。

属性

適用対象