共用方式為


CoreLoggerExtensions.RequiredAttributeInverted 方法

定義

警告

此 API 現已淘汰。

RequiredAttributeInverted事件的記錄。

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

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Model>

要使用的診斷記錄器。

navigation
INavigation

瀏覽屬性。

屬性

適用於