共用方式為


CoreLoggerExtensions.NonNullableReferenceOnDependent 方法

定義

警告

此 API 現已淘汰。

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

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的診斷記錄器。

navigation
INavigation

瀏覽屬性。

屬性

適用於